You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[css-transition] ensure we fill transition-property values with a custom property when other transition CSS properties are used with a longer list of items
https://bugs.webkit.org/show_bug.cgi?id=250401
rdar://104073160
Reviewed by Dean Jackson.
It's possible for certain CSS transition properties to specify a longer list of values than the
transition-property property itself. In the case where a custom property is used, we must ensure
to fill in the custom property string for the generated Animation object.
* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/animation/custom-property-transition-mismatched-property-numbers-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/animation/custom-property-transition-mismatched-property-numbers.html: Added.
* Source/WebCore/platform/animation/Animation.cpp:
(WebCore::Animation::Animation):
(WebCore::Animation::animationsMatch const):
* Source/WebCore/platform/animation/Animation.h:
(WebCore::Animation::isCustomOrUnknownPropertySet const):
(WebCore::Animation::isEmpty const):
(WebCore::Animation::clearCustomOrUnknownProperty):
(WebCore::Animation::clearAll):
(WebCore::Animation::setCustomOrUnknownProperty):
(WebCore::Animation::fillCustomOrUnknownProperty):
* Source/WebCore/platform/animation/AnimationList.cpp:
(WebCore::AnimationList::fillUnsetProperties):
Canonical link: https://commits.webkit.org/258770@main
0 commit comments