Changeset 291161 in webkit
- Timestamp:
- Mar 11, 2022 6:17:13 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-002-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-002-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/animation/CSSPropertyAnimation.cpp (modified) (2 diffs)
-
Source/WebCore/rendering/style/RenderStyle.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r291160 r291161 1 2022-03-11 Antoine Quint <graouts@webkit.org> 2 3 [web-animations] mask-repeat should support discrete animation 4 https://bugs.webkit.org/show_bug.cgi?id=237771 5 6 Reviewed by Antti Koivisto. 7 8 * web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-002-expected.txt: 9 * web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-002-expected.txt: 10 * web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt: 11 1 12 2022-03-11 Antoine Quint <graouts@webkit.org> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-002-expected.txt
r291160 r291161 50 50 PASS mask-origin: "border-box" onto "content-box" 51 51 PASS mask-origin: "content-box" onto "border-box" 52 PASS mask-repeat (type: discrete) has testAccumulation function 53 PASS mask-repeat: "round" onto "space" 54 PASS mask-repeat: "space" onto "round" 52 55 PASS mask-type (type: discrete) has testAccumulation function 53 56 PASS mask-type: "luminance" onto "alpha" -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-002-expected.txt
r291160 r291161 50 50 PASS mask-origin: "border-box" onto "content-box" 51 51 PASS mask-origin: "content-box" onto "border-box" 52 PASS mask-repeat (type: discrete) has testAddition function 53 PASS mask-repeat: "round" onto "space" 54 PASS mask-repeat: "space" onto "round" 52 55 PASS mask-type (type: discrete) has testAddition function 53 56 PASS mask-type: "luminance" onto "alpha" -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt
r291160 r291161 63 63 PASS mask-origin uses discrete animation when animating between "content-box" and "border-box" with effect easing 64 64 PASS mask-origin uses discrete animation when animating between "content-box" and "border-box" with keyframe easing 65 PASS mask-repeat (type: discrete) has testInterpolation function 66 PASS mask-repeat uses discrete animation when animating between "space" and "round" with linear easing 67 PASS mask-repeat uses discrete animation when animating between "space" and "round" with effect easing 68 PASS mask-repeat uses discrete animation when animating between "space" and "round" with keyframe easing 65 69 PASS mask-type (type: discrete) has testInterpolation function 66 70 PASS mask-type uses discrete animation when animating between "alpha" and "luminance" with linear easing -
trunk/Source/WebCore/ChangeLog
r291160 r291161 1 2022-03-11 Antoine Quint <graouts@webkit.org> 2 3 [web-animations] mask-repeat should support discrete animation 4 https://bugs.webkit.org/show_bug.cgi?id=237771 5 6 Reviewed by Antti Koivisto. 7 8 * animation/CSSPropertyAnimation.cpp: 9 (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): 10 * rendering/style/RenderStyle.h: 11 (WebCore::RenderStyle::setMaskRepeatX): 12 (WebCore::RenderStyle::setMaskRepeatY): 13 1 14 2022-03-11 Antoine Quint <graouts@webkit.org> 2 15 -
trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp
r291160 r291161 3023 3023 new FillLayersPropertyWrapper(CSSPropertyWebkitMaskPositionY, &RenderStyle::maskLayers, &RenderStyle::ensureMaskLayers), 3024 3024 new FillLayersPropertyWrapper(CSSPropertyMaskSize, &RenderStyle::maskLayers, &RenderStyle::ensureMaskLayers), 3025 3026 new DiscretePropertyWrapper<FillRepeat>(CSSPropertyMaskRepeatX, &RenderStyle::maskRepeatX, &RenderStyle::setMaskRepeatX), 3027 new DiscretePropertyWrapper<FillRepeat>(CSSPropertyMaskRepeatY, &RenderStyle::maskRepeatY, &RenderStyle::setMaskRepeatY), 3025 3028 3026 3029 new LengthPointPropertyWrapper(CSSPropertyObjectPosition, &RenderStyle::objectPosition, &RenderStyle::setObjectPosition), … … 3272 3275 CSSPropertyMaskPosition, 3273 3276 CSSPropertyWebkitMaskPosition, 3277 CSSPropertyMaskRepeat, 3274 3278 CSSPropertyBorderTop, CSSPropertyBorderRight, CSSPropertyBorderBottom, CSSPropertyBorderLeft, 3275 3279 CSSPropertyBorderColor, -
trunk/Source/WebCore/rendering/style/RenderStyle.h
r291156 r291161 1057 1057 void setMaskXPosition(Length&& length) { SET_NESTED_VAR(m_rareNonInheritedData, mask, m_xPosition, WTFMove(length)); } 1058 1058 void setMaskYPosition(Length&& length) { SET_NESTED_VAR(m_rareNonInheritedData, mask, m_yPosition, WTFMove(length)); } 1059 void setMaskRepeatX(FillRepeat fillRepeat) { SET_NESTED_VAR(m_rareNonInheritedData, mask, m_repeatX, static_cast<unsigned>(fillRepeat)); SET_NESTED_VAR(m_rareNonInheritedData, mask, m_repeatXSet, true); } 1060 void setMaskRepeatY(FillRepeat fillRepeat) { SET_NESTED_VAR(m_rareNonInheritedData, mask, m_repeatY, static_cast<unsigned>(fillRepeat)); SET_NESTED_VAR(m_rareNonInheritedData, mask, m_repeatYSet, true); } 1061 1059 1062 void setMaskSize(LengthSize size) { SET_NESTED_VAR(m_rareNonInheritedData, mask, m_sizeLength, WTFMove(size)); } 1060 1063
Note: See TracChangeset
for help on using the changeset viewer.