Changeset 291100 in webkit
- Timestamp:
- Mar 10, 2022 3:38:43 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
r291099 r291100 1 2022-03-09 Antoine Quint <graouts@webkit.org> 2 3 [web-animations] fill-rule should support discrete animation 4 https://bugs.webkit.org/show_bug.cgi?id=237648 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-10 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
r291099 r291100 194 194 PASS fill-opacity: [0, 1] number 195 195 PASS fill-opacity: [0, 1] number (clamped) 196 PASS fill-rule (type: discrete) has testAccumulation function 197 PASS fill-rule: "nonzero" onto "evenodd" 198 PASS fill-rule: "evenodd" onto "nonzero" 196 199 PASS filter (type: filterList) has testAccumulation function 197 200 FAIL filter: same ordered filter functions assert_equals: The value should be blur(30px) brightness(0) at 0ms expected "blur(30px) brightness(0)" but got "blur(30px) brightness(0.4)" -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-001-expected.txt
r291099 r291100 194 194 PASS fill-opacity: [0, 1] number 195 195 PASS fill-opacity: [0, 1] number (clamped) 196 PASS fill-rule (type: discrete) has testAddition function 197 PASS fill-rule: "nonzero" onto "evenodd" 198 PASS fill-rule: "evenodd" onto "nonzero" 196 199 PASS filter (type: filterList) has testAddition function 197 200 FAIL filter: blur on blur assert_equals: The value should be blur(10px) blur(20px) at 0ms expected "blur(10px) blur(20px)" but got "blur(30px)" -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-001-expected.txt
r291099 r291100 234 234 PASS fill-opacity (type: opacity) has testInterpolation function 235 235 PASS fill-opacity supports animating as a [0, 1] number 236 PASS fill-rule (type: discrete) has testInterpolation function 237 PASS fill-rule uses discrete animation when animating between "evenodd" and "nonzero" with linear easing 238 PASS fill-rule uses discrete animation when animating between "evenodd" and "nonzero" with effect easing 239 PASS fill-rule uses discrete animation when animating between "evenodd" and "nonzero" with keyframe easing 236 240 PASS filter (type: filterList) has testInterpolation function 237 241 PASS filter: blur function -
trunk/Source/WebCore/ChangeLog
r291099 r291100 1 2022-03-09 Antoine Quint <graouts@webkit.org> 2 3 [web-animations] fill-rule should support discrete animation 4 https://bugs.webkit.org/show_bug.cgi?id=237648 5 6 Reviewed by Antti Koivisto. 7 8 * animation/CSSPropertyAnimation.cpp: 9 (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): 10 * rendering/style/RenderStyle.h: 11 (WebCore::RenderStyle::fillRule const): 12 (WebCore::RenderStyle::setFillRule): 13 1 14 2022-03-10 Antoine Quint <graouts@webkit.org> 2 15 -
trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp
r291099 r291100 2926 2926 new DiscretePropertyWrapper<DominantBaseline>(CSSPropertyDominantBaseline, &RenderStyle::dominantBaseline, &RenderStyle::setDominantBaseline), 2927 2927 new CounterWrapper(CSSPropertyCounterIncrement), 2928 new CounterWrapper(CSSPropertyCounterReset) 2928 new CounterWrapper(CSSPropertyCounterReset), 2929 new DiscretePropertyWrapper<WindRule>(CSSPropertyFillRule, &RenderStyle::fillRule, &RenderStyle::setFillRule) 2929 2930 }; 2930 2931 const unsigned animatableLonghandPropertiesCount = WTF_ARRAY_LENGTH(animatableLonghandPropertyWrappers); -
trunk/Source/WebCore/rendering/style/RenderStyle.h
r291068 r291100 1440 1440 DominantBaseline dominantBaseline() const { return svgStyle().dominantBaseline(); } 1441 1441 void setDominantBaseline(DominantBaseline dominantBaseline) { return accessSVGStyle().setDominantBaseline(dominantBaseline); } 1442 1443 WindRule fillRule() const { return svgStyle().fillRule(); } 1444 void setFillRule(WindRule fillRule) { accessSVGStyle().setFillRule(fillRule); } 1442 1445 1443 1446 SVGPaintType fillPaintType() const { return svgStyle().fillPaintType(); }
Note: See TracChangeset
for help on using the changeset viewer.