Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a56042534dc01d55c8ae12d269f6690c88565135
https://github.com/WebKit/WebKit/commit/a56042534dc01d55c8ae12d269f6690c88565135
Author: Sam Weinig <[email protected]>
Date: 2025-11-25 (Tue, 25 Nov 2025)
Changed paths:
M Source/WebCore/css/CSSProperties.json
M Source/WebCore/css/scripts/process-css-properties.py
M
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleInterpolationWrapperMap.cpp
Log Message:
-----------
[Style] Don't require specifying an animation wrapper in standard cases
https://bugs.webkit.org/show_bug.cgi?id=303068
Reviewed by Antoine Quint.
Now that almost all properties use one of the standard animation wrappers,
StyleTypeWrapper, DiscreteWrapper, VisitedAffectedStyleTypeWrapper,
CoordinatedValueListPropertyStyleTypeWrapper, and
DiscreteCoordinatedValueListPropertyWrapper,
we can remove the requirement that they be specified explicitly in most cases.
The rule is:
- if "animation-wrapper" is specified, use what it specifies
- otherwise
- if "animation-type" is "discrete"
- if its a coordinated list value use
`DiscreteCoordinatedValueListPropertyWrapper`
- otherwise, use `DiscreteWrapper`
- otherwise:
- if its a coordinated list value use
`CoordinatedValueListPropertyStyleTypeWrapper`
- if its a visited color property use
`VisitedAffectedStyleTypeWrapper`
- otherwise, use `StyleTypeWrapper`
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/scripts/process-css-properties.py:
*
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleInterpolationWrapperMap.cpp:
Canonical link: https://commits.webkit.org/303547@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications