Changeset 291042 in webkit
- Timestamp:
- Mar 9, 2022 4:58:38 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
r291041 r291042 1 2022-03-08 Antoine Quint <graouts@webkit.org> 2 3 [web-animations] clip-rule should support discrete animations 4 https://bugs.webkit.org/show_bug.cgi?id=237609 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
r291041 r291042 127 127 PASS clip: "rect(10px, 10px, 10px, auto)" onto "rect(10px, 10px, 10px, 10px)" 128 128 PASS clip: "rect(10px, 10px, 10px, 10px)" onto "rect(10px, 10px, 10px, auto)" 129 PASS clip-rule (type: discrete) has testAccumulation function 130 PASS clip-rule: "nonzero" onto "evenodd" 131 PASS clip-rule: "evenodd" onto "nonzero" 129 132 PASS color (type: color) has testAccumulation function 130 133 FAIL color supports animating as color of rgb() with overflowed from and to values assert_equals: The value should be rgb(255, 128, 255) at 500ms expected "rgb(255, 128, 255)" but got "rgb(192, 128, 192)" -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-001-expected.txt
r291041 r291042 127 127 PASS clip: "rect(10px, 10px, 10px, auto)" onto "rect(10px, 10px, 10px, 10px)" 128 128 PASS clip: "rect(10px, 10px, 10px, 10px)" onto "rect(10px, 10px, 10px, auto)" 129 PASS clip-rule (type: discrete) has testAddition function 130 PASS clip-rule: "nonzero" onto "evenodd" 131 PASS clip-rule: "evenodd" onto "nonzero" 129 132 PASS color (type: color) has testAddition function 130 133 FAIL color supports animating as color of rgb() with overflowed from and to values assert_equals: The value should be rgb(255, 128, 255) at 500ms expected "rgb(255, 128, 255)" but got "rgb(192, 128, 192)" -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-001-expected.txt
r291041 r291042 155 155 PASS clip uses discrete animation when animating between "rect(10px, 10px, 10px, 10px)" and "rect(10px, 10px, 10px, auto)" with effect easing 156 156 PASS clip uses discrete animation when animating between "rect(10px, 10px, 10px, 10px)" and "rect(10px, 10px, 10px, auto)" with keyframe easing 157 PASS clip-rule (type: discrete) has testInterpolation function 158 PASS clip-rule uses discrete animation when animating between "evenodd" and "nonzero" with linear easing 159 PASS clip-rule uses discrete animation when animating between "evenodd" and "nonzero" with effect easing 160 PASS clip-rule uses discrete animation when animating between "evenodd" and "nonzero" with keyframe easing 157 161 PASS color (type: color) has testInterpolation function 158 162 PASS color supports animating as color of rgb() -
trunk/Source/WebCore/ChangeLog
r291041 r291042 1 2022-03-08 Antoine Quint <graouts@webkit.org> 2 3 [web-animations] clip-rule should support discrete animations 4 https://bugs.webkit.org/show_bug.cgi?id=237609 5 6 Reviewed by Antti Koivisto. 7 8 * animation/CSSPropertyAnimation.cpp: 9 (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): 10 * rendering/style/RenderStyle.h: 11 (WebCore::RenderStyle::clipRule const): 12 (WebCore::RenderStyle::setClipRule): 13 1 14 2022-03-08 Antoine Quint <graouts@webkit.org> 2 15 -
trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp
r291041 r291042 2842 2842 new DiscretePropertyWrapper<Kerning>(CSSPropertyFontKerning, &RenderStyle::fontKerning, &RenderStyle::setFontKerning), 2843 2843 new DiscretePropertyWrapper<FontFeatureSettings>(CSSPropertyFontFeatureSettings, &RenderStyle::fontFeatureSettings, &RenderStyle::setFontFeatureSettings), 2844 new FontFamilyWrapper 2844 new FontFamilyWrapper, 2845 new DiscretePropertyWrapper<WindRule>(CSSPropertyClipRule, &RenderStyle::clipRule, &RenderStyle::setClipRule) 2845 2846 }; 2846 2847 const unsigned animatableLonghandPropertiesCount = WTF_ARRAY_LENGTH(animatableLonghandPropertyWrappers); -
trunk/Source/WebCore/rendering/style/RenderStyle.h
r291041 r291042 1431 1431 SVGRenderStyle& accessSVGStyle() { return m_svgStyle.access(); } 1432 1432 1433 WindRule clipRule() const { return svgStyle().clipRule(); } 1434 void setClipRule(WindRule clipRule) { accessSVGStyle().setClipRule(clipRule); } 1433 1435 ColorInterpolation colorInterpolation() const { return svgStyle().colorInterpolation(); } 1434 1436 void setColorInterpolation(ColorInterpolation colorInterpolation) { accessSVGStyle().setColorInterpolation(colorInterpolation); }
Note: See TracChangeset
for help on using the changeset viewer.