Skip to content

Animation.rs: Iterate declared transition backwards#192

Closed
yezhizhen wants to merge 10000 commits intoservo:mainfrom
yezhizhen:fix-transition-order
Closed

Animation.rs: Iterate declared transition backwards#192
yezhizhen wants to merge 10000 commits intoservo:mainfrom
yezhizhen:fix-transition-order

Conversation

@yezhizhen
Copy link
Copy Markdown
Member

@yezhizhen yezhizhen commented May 29, 2025

Implement DoubleEndedIterator for TransitionPropertyIterator to iterate declared transition backwards:
Spec: "If a property is specified multiple times in the value of transition-property (either on its own, via a shorthand that contains it, or via the all value), then the transition that starts uses the duration, delay, and timing function at the index corresponding to the last item in the value of transition-property that calls for animating that property. "

Addresses Servo issue: servo #37164
Servo PR: servo/servo#37176

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.