Bug 1328787 - Part 11: The last keyframe's KeyframePercentage is 1.0. r=heycam

MozReview-Commit-ID: Hgsc45m9401
This commit is contained in:
Hiroyuki Ikezoe 2017-01-28 19:03:03 +09:00
parent 2bfa0f7a2d
commit 90571eaa54

View file

@ -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));
}