Repository navigation
[@starting-style] Use starting style as before-change style for animations - #23413
Merged
Merged
Conversation
Collaborator
|
EWS run on previous version of this PR (hash 333bb41) Details
|
anttijk
force-pushed
the
starting-style-use
branch
from
January 29, 2024 13:08
333bb41 to
19fca19
Compare
Collaborator
Collaborator
|
EWS run on previous version of this PR (hash 19fca19) Details
|
anttijk
force-pushed
the
starting-style-use
branch
from
January 29, 2024 17:26
19fca19 to
d9384bd
Compare
Collaborator
|
EWS run on previous version of this PR (hash d9384bd) Details
|
darinadler
approved these changes
Jan 29, 2024
mdubet
approved these changes
Jan 29, 2024
anttijk
force-pushed
the
starting-style-use
branch
from
January 30, 2024 10:08
d9384bd to
d840623
Compare
Collaborator
|
EWS run on current version of this PR (hash d840623) Details
|
…tions https://bugs.webkit.org/show_bug.cgi?id=268285 rdar://121844935 Reviewed by Darin Adler and Matthieu Dubet. Compute the starting style if needed and use it. https://drafts.csswg.org/css-transitions-2/#at-ruledef-starting-style * LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-starting-style-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/starting-style-cascade-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/starting-style-rule-basic-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/starting-style-rule-pseudo-elements-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/starting-style-size-container-expected.txt: * Source/WebCore/style/ElementRuleCollector.cpp: (WebCore::Style::ElementRuleCollector::addMatchedProperties): * Source/WebCore/style/MatchResult.h: Track if MatchResult contains any starting style rules for quick testing. * Source/WebCore/style/StyleTreeResolver.cpp: (WebCore::Style::TreeResolver::createAnimatedElementUpdate): Try to compute a starting style if we don't have an existing before-change style. (WebCore::Style::TreeResolver::resolveStartingStyle const): Resolve the starting style by re-applying the matched properties with @starting-style rules enabled. * Source/WebCore/style/StyleTreeResolver.h: * Source/WebCore/style/Styleable.cpp: (WebCore::Styleable::cancelStyleOriginatedAnimations const): Take care to also clear the lastStyleChangeEventStyle when canceling animations. Canonical link: https://commits.webkit.org/273734@main
webkit-commit-queue
force-pushed
the
starting-style-use
branch
from
January 30, 2024 12:22
d840623 to
b28edea
Compare
Collaborator
|
Committed 273734@main (b28edea): https://commits.webkit.org/273734@main Reviewed commits have been landed. Closing PR #23413 and removing active labels. |
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.
b28edea
d840623
🛠 wincairo🧪 wpe-wk2🧪 ios-wk2-wpt🛠 watch