Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[css-animations] composite operation of implicit keyframes for CSS An…
…imations should be "replace" https://bugs.webkit.org/show_bug.cgi?id=251499 Reviewed by Antti Koivisto. The CSS Animations spec indicates in its "Keyframes" section [0] that the default composite is "replace". As such, when generating an implicit keyframe for an effect tied to a CSS Animation, we should set the composite value to "replace". This issue was caught by a new version of css/css-animations/KeyframeEffect-getKeyframes.tentative.html which was not yet in our repository, so we update it with the most recent changes. We make an additional change in the final subtest of this WPT to correctly have "replace" as the composite value for the implicit keyframes. I suspect this change was not made when Google last changed that test [1] because Chrome fails to generate the right implicit keyframes in this case. [0] https://drafts.csswg.org/css-animations-2/#keyframes [1] web-platform-tests/wpt@1a5c61d * LayoutTests/imported/w3c/web-platform-tests/css/css-animations/KeyframeEffect-getKeyframes.tentative.html: * Source/WebCore/rendering/style/KeyframeList.cpp: (WebCore::KeyframeList::fillImplicitKeyframes): Canonical link: https://commits.webkit.org/259739@main
- Loading branch information
Showing
2 changed files
with
36 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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