Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[web-animations] support custom properties in Animation.commitStyles()
https://bugs.webkit.org/show_bug.cgi?id=242007 Reviewed by Dean Jackson. We add a new KeyframeEffect::animatedCustomProperties() method to access the list of custom properties affected by this effect. Then, in WebAnimation::commitStyles(), we account for those properties to commit them onto the target element's inline style. This yields an additional WPT PASS result in web-animations/interfaces/Animation/commitStyles.html. * LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animation/commitStyles-expected.txt: * Source/WebCore/animation/KeyframeEffect.cpp: (WebCore::KeyframeEffect::animatedCustomProperties): * Source/WebCore/animation/KeyframeEffect.h: * Source/WebCore/animation/WebAnimation.cpp: (WebCore::WebAnimation::commitStyles): Canonical link: https://commits.webkit.org/251858@main
- Loading branch information
Showing
4 changed files
with
50 additions
and
11 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
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