Changeset 291160 in webkit
- Timestamp:
- Mar 11, 2022 6:08:29 AM (4 months ago)
- Location:
- trunk
- Files:
-
- 6 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)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r291159 r291160 1 2022-03-11 Antoine Quint <graouts@webkit.org> 2 3 [web-animations] mask-mode should support discrete animation 4 https://bugs.webkit.org/show_bug.cgi?id=237770 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
r291159 r291160 44 44 PASS mask-image: "url("http://localhost/test-2")" onto "url("http://localhost/test-1")" 45 45 PASS mask-image: "url("http://localhost/test-1")" onto "url("http://localhost/test-2")" 46 PASS mask-mode (type: discrete) has testAccumulation function 47 PASS mask-mode: "luminance" onto "alpha" 48 PASS mask-mode: "alpha" onto "luminance" 46 49 PASS mask-origin (type: discrete) has testAccumulation function 47 50 PASS mask-origin: "border-box" onto "content-box" -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-002-expected.txt
r291159 r291160 44 44 PASS mask-image: "url("http://localhost/test-2")" onto "url("http://localhost/test-1")" 45 45 PASS mask-image: "url("http://localhost/test-1")" onto "url("http://localhost/test-2")" 46 PASS mask-mode (type: discrete) has testAddition function 47 PASS mask-mode: "luminance" onto "alpha" 48 PASS mask-mode: "alpha" onto "luminance" 46 49 PASS mask-origin (type: discrete) has testAddition function 47 50 PASS mask-origin: "border-box" onto "content-box" -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt
r291159 r291160 55 55 FAIL mask-image uses discrete animation when animating between "url("http://localhost/test-1")" and "url("http://localhost/test-2")" with effect easing assert_equals: The value should be url("http://localhost/test-1") at 940ms expected "url(\"http://localhost/test-1\")" but got "url(\"http://localhost/test-2\")" 56 56 FAIL mask-image uses discrete animation when animating between "url("http://localhost/test-1")" and "url("http://localhost/test-2")" with keyframe easing assert_equals: The value should be url("http://localhost/test-1") at 940ms expected "url(\"http://localhost/test-1\")" but got "url(\"http://localhost/test-2\")" 57 PASS mask-mode (type: discrete) has testInterpolation function 58 PASS mask-mode uses discrete animation when animating between "alpha" and "luminance" with linear easing 59 PASS mask-mode uses discrete animation when animating between "alpha" and "luminance" with effect easing 60 PASS mask-mode uses discrete animation when animating between "alpha" and "luminance" with keyframe easing 57 61 PASS mask-origin (type: discrete) has testInterpolation function 58 62 PASS mask-origin uses discrete animation when animating between "content-box" and "border-box" with linear easing -
trunk/Source/WebCore/ChangeLog
r291159 r291160 1 2022-03-11 Antoine Quint <graouts@webkit.org> 2 3 [web-animations] mask-mode should support discrete animation 4 https://bugs.webkit.org/show_bug.cgi?id=237770 5 6 Reviewed by Antti Koivisto. 7 8 * animation/CSSPropertyAnimation.cpp: 9 (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): 10 1 11 2022-03-11 Antoine Quint <graouts@webkit.org> 2 12 -
trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp
r291159 r291160 1977 1977 m_fillLayerPropertyWrapper = makeUnique<DiscreteFillLayerPropertyWrapper<CompositeOperator>>(property, &FillLayer::composite, &FillLayer::setComposite); 1978 1978 break; 1979 case CSSPropertyMaskMode: 1980 m_fillLayerPropertyWrapper = makeUnique<DiscreteFillLayerPropertyWrapper<MaskMode>>(property, &FillLayer::maskMode, &FillLayer::setMaskMode); 1981 break; 1979 1982 default: 1980 1983 break; … … 3015 3018 new FillLayersPropertyWrapper(CSSPropertyMaskClip, &RenderStyle::maskLayers, &RenderStyle::ensureMaskLayers), 3016 3019 new FillLayersPropertyWrapper(CSSPropertyMaskComposite, &RenderStyle::maskLayers, &RenderStyle::ensureMaskLayers), 3020 new FillLayersPropertyWrapper(CSSPropertyMaskMode, &RenderStyle::maskLayers, &RenderStyle::ensureMaskLayers), 3017 3021 new FillLayersPropertyWrapper(CSSPropertyMaskOrigin, &RenderStyle::maskLayers, &RenderStyle::ensureMaskLayers), 3018 3022 new FillLayersPropertyWrapper(CSSPropertyWebkitMaskPositionX, &RenderStyle::maskLayers, &RenderStyle::ensureMaskLayers),
Note: See TracChangeset
for help on using the changeset viewer.