Skip to content

Commit

Permalink
Bug 1328787 - Part 11: The last keyframe's KeyframePercentage is 1.0.…
Browse files Browse the repository at this point in the history
… r=heycam

MozReview-Commit-ID: Hgsc45m9401
  • Loading branch information
Hiroyuki Ikezoe committed Jan 29, 2017
1 parent 2bfa0f7 commit 90571ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/style/keyframes.rs
Expand Up @@ -302,7 +302,7 @@ impl KeyframesAnimation {
}

if steps.last().unwrap().start_percentage.0 != 1. {
steps.push(KeyframesStep::new(KeyframePercentage::new(0.),
steps.push(KeyframesStep::new(KeyframePercentage::new(1.),
KeyframesStepValue::ComputedValues));
}

Expand Down

0 comments on commit 90571ea

Please sign in to comment.