-
Notifications
You must be signed in to change notification settings - Fork 44
Animation.rs: Iterate declared transition backwards #213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Any ancestors of this commit are from upstream mozilla-central, with some filtering and renaming. Our patches and sync tooling start here. The sync tooling has all been squashed into this commit, based on: https://github.com/servo/stylo/commits/64731e10dc8ef87ef52aa2fb9f988c3b2530f3a7
This is a rebase of da53c54 Signed-off-by: Oriol Brufau <[email protected]>
Just reverting a previous fixup which is no longer needed: bd707d7 Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Oriol Brufau <[email protected]>
This reverts commit 3580e11 to avoid duplicated crates, until we can coordinate the upgrade.
Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Euclid Ye <[email protected]>
@yezhizhen Thanks for posting this. Since this PR is much bigger than I expected and might take a while to review and ensure we can get it upstream, I've posted your original version as well here: #214. I didn't realize that it would be so much work to add reverse iteration support here, sorry. I don't want to block your work any longer than I already have, so my hope is we can land the less optimal version first and then land something like this later. |
Thanks Martin :) |
Implement
DoubleEndedIterator
forTransitionPropertyIterator
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
Rebase of #192