Repository navigation
[web-animations] make the display property animatable - #26238
Merged
webkit-commit-queue merged 1 commit intoMar 21, 2024
Merged
webkit-commit-queue merged 1 commit into
webkit-commit-queue merged 1 commit into
Conversation
Collaborator
|
EWS run on current version of this PR (hash d010ec7) Details |
nt1m
reviewed
Mar 21, 2024
Comment on lines
18
to
29
Member
There was a problem hiding this comment.
ah I just read your commit message. Perhaps worth deleting it from upstream, display interpolation is not really tentative anymore.
nt1m
approved these changes
Mar 21, 2024
https://bugs.webkit.org/show_bug.cgi?id=271372 Reviewed by Tim Nguyen. As part of the work to add interpolation support for the `display` property (see bug 267762) we need to make that property animatable. We add basic support with a new wrapper in CSSPropertyAnimation.cpp, but more work will be needed to deal with the more tricky aspects of `display: none` values encountered before and after applying animations during style resolution. It is expected that the WPT test `css/css-display/animations/display-interpolation.html` now has FAIL results since this test is not aware of `display` being an animatable property. That test is superseded by `css/css-display/animations/display-interpolation.tentative.html` but both tests currently co-exist in the WPT suite so we retain both of them. Likewise, we alter the WPT test `web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-001.html` to no longer assume the `display` property is not animatable. Finally, the test `imported/blink/fast/css-generated-content/pseudo-animation-display.html` now fails. That test also fails in Chrome [0] after they've added animation support for the `display` property, but our failures aren't the same. I've filed an issue with the CSS WG [1] to discuss this and ensure we get WPT coverage. [0] https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/TestExpectations;l=3487;bpv=1;bpt=1 [1] w3c/csswg-drafts#10111 * LayoutTests/imported/blink/fast/css-generated-content/pseudo-animation-display-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-animations/display-interpolation-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-animations/display-none-dont-cancel.tentative-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-display/animations/display-interpolation-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-display/animations/display-interpolation.tentative-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-001-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-001.html: * Source/WebCore/animation/CSSPropertyAnimation.cpp: (WebCore::blendFunc): (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): * Source/WebCore/rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::conservativelyCollectChangedAnimatableProperties const): Canonical link: https://commits.webkit.org/276464@main
webkit-commit-queue
force-pushed
the
display-animatable-basic-interpolation
branch
from
March 21, 2024 15:33
d010ec7 to
531dc1c
Compare
Collaborator
|
Committed 276464@main (531dc1c): https://commits.webkit.org/276464@main Reviewed commits have been landed. Closing PR #26238 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.
531dc1c
d010ec7