From 90571eaa54905390a75d570f4ed74a3f322bb000 Mon Sep 17 00:00:00 2001 From: Hiroyuki Ikezoe Date: Sat, 28 Jan 2017 19:03:03 +0900 Subject: [PATCH] Bug 1328787 - Part 11: The last keyframe's KeyframePercentage is 1.0. r=heycam MozReview-Commit-ID: Hgsc45m9401 --- components/style/keyframes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/keyframes.rs b/components/style/keyframes.rs index 247ca8efc25..0eb0662c128 100644 --- a/components/style/keyframes.rs +++ b/components/style/keyframes.rs @@ -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)); }