Changeset 291043 in webkit
- Timestamp:
- Mar 9, 2022 5:01:55 AM (4 months ago)
- Location:
- trunk
- Files:
-
- 7 edited
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-001-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-001-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-001-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/animation/CSSPropertyAnimation.cpp (modified) (1 diff)
-
Source/WebCore/rendering/style/RenderStyle.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r291042 r291043 1 2022-03-09 Antoine Quint <graouts@webkit.org> 2 3 [web-animations] color-interpolation-filters should support discrete animation 4 https://bugs.webkit.org/show_bug.cgi?id=237637 5 6 Reviewed by Antti Koivisto. 7 8 * web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-001-expected.txt: 9 * web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-001-expected.txt: 10 * web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-001-expected.txt: 11 1 12 2022-03-08 Antoine Quint <graouts@webkit.org> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-001-expected.txt
r291042 r291043 140 140 PASS color-interpolation: "auto" onto "linearrgb" 141 141 PASS color-interpolation: "linearrgb" onto "auto" 142 PASS color-interpolation-filters (type: discrete) has testAccumulation function 143 PASS color-interpolation-filters: "linearrgb" onto "srgb" 144 PASS color-interpolation-filters: "srgb" onto "linearrgb" 142 145 PASS column-count (type: positiveInteger) has testAccumulation function 143 146 PASS column-count: positive integer -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-001-expected.txt
r291042 r291043 140 140 PASS color-interpolation: "auto" onto "linearrgb" 141 141 PASS color-interpolation: "linearrgb" onto "auto" 142 PASS color-interpolation-filters (type: discrete) has testAddition function 143 PASS color-interpolation-filters: "linearrgb" onto "srgb" 144 PASS color-interpolation-filters: "srgb" onto "linearrgb" 142 145 PASS column-count (type: positiveInteger) has testAddition function 143 146 PASS column-count: positive integer -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-001-expected.txt
r291042 r291043 170 170 PASS color-interpolation uses discrete animation when animating between "linearrgb" and "auto" with effect easing 171 171 PASS color-interpolation uses discrete animation when animating between "linearrgb" and "auto" with keyframe easing 172 PASS color-interpolation-filters (type: discrete) has testInterpolation function 173 PASS color-interpolation-filters uses discrete animation when animating between "srgb" and "linearrgb" with linear easing 174 PASS color-interpolation-filters uses discrete animation when animating between "srgb" and "linearrgb" with effect easing 175 PASS color-interpolation-filters uses discrete animation when animating between "srgb" and "linearrgb" with keyframe easing 172 176 PASS column-count (type: positiveInteger) has testInterpolation function 173 177 PASS column-count supports animating as a positive integer -
trunk/Source/WebCore/ChangeLog
r291042 r291043 1 2022-03-09 Antoine Quint <graouts@webkit.org> 2 3 [web-animations] color-interpolation-filters should support discrete animation 4 https://bugs.webkit.org/show_bug.cgi?id=237637 5 6 Reviewed by Antti Koivisto. 7 8 * animation/CSSPropertyAnimation.cpp: 9 (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): 10 * rendering/style/RenderStyle.h: 11 (WebCore::RenderStyle::colorInterpolationFilters const): 12 (WebCore::RenderStyle::setColorInterpolationFilters): 13 1 14 2022-03-08 Antoine Quint <graouts@webkit.org> 2 15 -
trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp
r291042 r291043 2843 2843 new DiscretePropertyWrapper<FontFeatureSettings>(CSSPropertyFontFeatureSettings, &RenderStyle::fontFeatureSettings, &RenderStyle::setFontFeatureSettings), 2844 2844 new FontFamilyWrapper, 2845 new DiscretePropertyWrapper<WindRule>(CSSPropertyClipRule, &RenderStyle::clipRule, &RenderStyle::setClipRule) 2845 new DiscretePropertyWrapper<WindRule>(CSSPropertyClipRule, &RenderStyle::clipRule, &RenderStyle::setClipRule), 2846 new DiscretePropertyWrapper<ColorInterpolation>(CSSPropertyColorInterpolationFilters, &RenderStyle::colorInterpolationFilters, &RenderStyle::setColorInterpolationFilters) 2846 2847 }; 2847 2848 const unsigned animatableLonghandPropertiesCount = WTF_ARRAY_LENGTH(animatableLonghandPropertyWrappers); -
trunk/Source/WebCore/rendering/style/RenderStyle.h
r291042 r291043 1435 1435 ColorInterpolation colorInterpolation() const { return svgStyle().colorInterpolation(); } 1436 1436 void setColorInterpolation(ColorInterpolation colorInterpolation) { accessSVGStyle().setColorInterpolation(colorInterpolation); } 1437 ColorInterpolation colorInterpolationFilters() const { return svgStyle().colorInterpolationFilters(); } 1438 void setColorInterpolationFilters(ColorInterpolation colorInterpolationFilters) { accessSVGStyle().setColorInterpolationFilters(colorInterpolationFilters); } 1437 1439 1438 1440 SVGPaintType fillPaintType() const { return svgStyle().fillPaintType(); }
Note: See TracChangeset
for help on using the changeset viewer.