Animation.rs: Iterate declared transition backwards#213
Open
yezhizhen wants to merge 11 commits intoservo:mainfrom
Open
Animation.rs: Iterate declared transition backwards#213yezhizhen wants to merge 11 commits intoservo:mainfrom
yezhizhen wants to merge 11 commits intoservo:mainfrom
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 <obrufau@igalia.com>
Just reverting a previous fixup which is no longer needed: bd707d7 Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This reverts commit 3580e11 to avoid duplicated crates, until we can coordinate the upgrade.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
Member
|
@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. |
Member
Author
|
Thanks Martin :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement
DoubleEndedIteratorforTransitionPropertyIteratorto 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