Changeset 291170 in webkit


Ignore:
Timestamp:
Mar 11, 2022 9:08:15 AM (4 months ago)
Author:
graouts@webkit.org
Message:

[web-animations] vector-effect should support discrete animation
https://bugs.webkit.org/show_bug.cgi?id=237766

Reviewed by Antti Koivisto.

LayoutTests/imported/w3c:

  • web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-002-expected.txt:
  • web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-002-expected.txt:
  • web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt:

Source/WebCore:

  • animation/CSSPropertyAnimation.cpp:

(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r291166 r291170  
     12022-03-11  Antoine Quint  <graouts@webkit.org>
     2
     3        [web-animations] vector-effect should support discrete animation
     4        https://bugs.webkit.org/show_bug.cgi?id=237766
     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
    1122022-03-11  Antoine Quint  <graouts@webkit.org>
    213
  • trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-002-expected.txt

    r291166 r291170  
    249249PASS scale with one unspecified value
    250250PASS scale
     251PASS vector-effect (type: discrete) has testAccumulation function
     252PASS vector-effect: "non-scaling-stroke" onto "none"
     253PASS vector-effect: "none" onto "non-scaling-stroke"
    251254PASS visibility (type: visibility) has testAccumulation function
    252255PASS visibility: onto "visible"
  • trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-002-expected.txt

    r291166 r291170  
    245245PASS scale with one unspecified value
    246246PASS scale
     247PASS vector-effect (type: discrete) has testAddition function
     248PASS vector-effect: "non-scaling-stroke" onto "none"
     249PASS vector-effect: "none" onto "non-scaling-stroke"
    247250PASS visibility (type: visibility) has testAddition function
    248251PASS visibility: onto "visible"
  • trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt

    r291166 r291170  
    303303PASS scale with one unspecified value
    304304PASS scale
     305PASS vector-effect (type: discrete) has testInterpolation function
     306PASS vector-effect uses discrete animation when animating between "none" and "non-scaling-stroke" with linear easing
     307PASS vector-effect uses discrete animation when animating between "none" and "non-scaling-stroke" with effect easing
     308PASS vector-effect uses discrete animation when animating between "none" and "non-scaling-stroke" with keyframe easing
    305309PASS visibility (type: visibility) has testInterpolation function
    306310PASS visibility uses visibility animation when animating from "visible" to "hidden"
  • trunk/Source/WebCore/ChangeLog

    r291169 r291170  
     12022-03-11  Antoine Quint  <graouts@webkit.org>
     2
     3        [web-animations] vector-effect should support discrete animation
     4        https://bugs.webkit.org/show_bug.cgi?id=237766
     5
     6        Reviewed by Antti Koivisto.
     7
     8        * animation/CSSPropertyAnimation.cpp:
     9        (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
     10
    1112022-03-11  Alan Bujtas  <zalan@apple.com>
    212
  • trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp

    r291166 r291170  
    32653265        new DiscretePropertyWrapper<LineCap>(CSSPropertyStrokeLinecap, &RenderStyle::capStyle, &RenderStyle::setCapStyle),
    32663266        new DiscretePropertyWrapper<LineJoin>(CSSPropertyStrokeLinejoin, &RenderStyle::joinStyle, &RenderStyle::setJoinStyle),
    3267         new DiscreteSVGPropertyWrapper<TextAnchor>(CSSPropertyTextAnchor, &SVGRenderStyle::textAnchor, &SVGRenderStyle::setTextAnchor)
     3267        new DiscreteSVGPropertyWrapper<TextAnchor>(CSSPropertyTextAnchor, &SVGRenderStyle::textAnchor, &SVGRenderStyle::setTextAnchor),
     3268        new DiscreteSVGPropertyWrapper<VectorEffect>(CSSPropertyVectorEffect, &SVGRenderStyle::vectorEffect, &SVGRenderStyle::setVectorEffect)
    32683269    };
    32693270    const unsigned animatableLonghandPropertiesCount = WTF_ARRAY_LENGTH(animatableLonghandPropertyWrappers);
Note: See TracChangeset for help on using the changeset viewer.