Title: [290886] trunk
Revision
290886
Author
[email protected]
Date
2022-03-07 06:22:32 -0800 (Mon, 07 Mar 2022)

Log Message

[web-animations] text-decoration-skip-ink should support discrete animations
https://bugs.webkit.org/show_bug.cgi?id=237512

Reviewed by Antti Koivisto.

LayoutTests/imported/w3c:

* web-platform-tests/css/css-pseudo/parsing/marker-supported-properties-in-animation-expected.txt:

Source/WebCore:

* animation/CSSPropertyAnimation.cpp:
(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):

Modified Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (290885 => 290886)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2022-03-07 14:19:40 UTC (rev 290885)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2022-03-07 14:22:32 UTC (rev 290886)
@@ -1,5 +1,14 @@
 2022-03-07  Antoine Quint  <[email protected]>
 
+        [web-animations] text-decoration-skip-ink should support discrete animations
+        https://bugs.webkit.org/show_bug.cgi?id=237512
+
+        Reviewed by Antti Koivisto.
+
+        * web-platform-tests/css/css-pseudo/parsing/marker-supported-properties-in-animation-expected.txt:
+
+2022-03-07  Antoine Quint  <[email protected]>
+
         [web-animations] line-break should support discrete animations
         https://bugs.webkit.org/show_bug.cgi?id=237520
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/parsing/marker-supported-properties-in-animation-expected.txt (290885 => 290886)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/parsing/marker-supported-properties-in-animation-expected.txt	2022-03-07 14:19:40 UTC (rev 290885)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/parsing/marker-supported-properties-in-animation-expected.txt	2022-03-07 14:22:32 UTC (rev 290886)
@@ -33,7 +33,7 @@
 PASS Animation of text-transform in ::marker
 PASS Animation of word-break in ::marker
 PASS Animation of word-spacing in ::marker
-FAIL Animation of text-decoration-skip-ink in ::marker assert_equals: expected "none" but got "auto"
+PASS Animation of text-decoration-skip-ink in ::marker
 FAIL Animation of text-emphasis in ::marker assert_equals: expected "triangle rgb(50, 100, 100)" but got ""
 FAIL Animation of text-emphasis-color in ::marker assert_equals: expected "rgb(50, 100, 100)" but got "rgb(100, 0, 200)"
 PASS Animation of text-emphasis-position in ::marker

Modified: trunk/Source/WebCore/ChangeLog (290885 => 290886)


--- trunk/Source/WebCore/ChangeLog	2022-03-07 14:19:40 UTC (rev 290885)
+++ trunk/Source/WebCore/ChangeLog	2022-03-07 14:22:32 UTC (rev 290886)
@@ -1,5 +1,15 @@
 2022-03-07  Antoine Quint  <[email protected]>
 
+        [web-animations] text-decoration-skip-ink should support discrete animations
+        https://bugs.webkit.org/show_bug.cgi?id=237512
+
+        Reviewed by Antti Koivisto.
+
+        * animation/CSSPropertyAnimation.cpp:
+        (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
+
+2022-03-07  Antoine Quint  <[email protected]>
+
         [web-animations] line-break should support discrete animations
         https://bugs.webkit.org/show_bug.cgi?id=237520
 

Modified: trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp (290885 => 290886)


--- trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp	2022-03-07 14:19:40 UTC (rev 290885)
+++ trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp	2022-03-07 14:22:32 UTC (rev 290886)
@@ -2786,7 +2786,8 @@
         new LengthPointOrAutoPropertyWrapper(CSSPropertyOffsetPosition, &RenderStyle::offsetPosition, &RenderStyle::setOffsetPosition),
         new LengthPointOrAutoPropertyWrapper(CSSPropertyOffsetAnchor, &RenderStyle::offsetAnchor, &RenderStyle::setOffsetAnchor),
         new PropertyWrapperContent,
-        new OffsetRotatePropertyWrapper(CSSPropertyOffsetRotate, &RenderStyle::offsetRotate, &RenderStyle::setOffsetRotate)
+        new OffsetRotatePropertyWrapper(CSSPropertyOffsetRotate, &RenderStyle::offsetRotate, &RenderStyle::setOffsetRotate),
+        new DiscretePropertyWrapper<TextDecorationSkipInk>(CSSPropertyTextDecorationSkipInk, &RenderStyle::textDecorationSkipInk, &RenderStyle::setTextDecorationSkipInk)
     };
     const unsigned animatableLonghandPropertiesCount = WTF_ARRAY_LENGTH(animatableLonghandPropertyWrappers);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to