diff --git a/components/style/properties/helpers/animated_properties.mako.rs b/components/style/properties/helpers/animated_properties.mako.rs index 304f026deda..f2fc745c57b 100644 --- a/components/style/properties/helpers/animated_properties.mako.rs +++ b/components/style/properties/helpers/animated_properties.mako.rs @@ -820,7 +820,7 @@ impl<'a> Iterator for TransitionPropertyIterator<'a> { if let Some(longhand_id) = longhand_iterator.next() { return Some(TransitionPropertyIteration { longhand_id, - index: self.index_range.start, + index: self.index_range.start - 1, }); } self.longhand_iterator = None;