Title: [290885] trunk
Revision
290885
Author
[email protected]
Date
2022-03-07 06:19:40 -0800 (Mon, 07 Mar 2022)

Log Message

[web-animations] line-break should support discrete animations
https://bugs.webkit.org/show_bug.cgi?id=237520

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 (290884 => 290885)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2022-03-07 14:15:29 UTC (rev 290884)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2022-03-07 14:19:40 UTC (rev 290885)
@@ -1,5 +1,14 @@
 2022-03-07  Antoine Quint  <[email protected]>
 
+        [web-animations] line-break should support discrete animations
+        https://bugs.webkit.org/show_bug.cgi?id=237520
+
+        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]>
+
         Parsing of list-style shorthand is incorrect
         https://bugs.webkit.org/show_bug.cgi?id=237515
 

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


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/parsing/marker-supported-properties-in-animation-expected.txt	2022-03-07 14:15:29 UTC (rev 290884)
+++ 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)
@@ -27,7 +27,7 @@
 PASS Animation of content in ::marker
 FAIL Animation of hyphens in ::marker assert_true: hyphens doesn't seem to be supported in the computed style expected true got false
 PASS Animation of letter-spacing in ::marker
-FAIL Animation of line-break in ::marker assert_equals: expected "anywhere" but got "auto"
+PASS Animation of line-break in ::marker
 PASS Animation of overflow-wrap in ::marker
 PASS Animation of tab-size in ::marker
 PASS Animation of text-transform in ::marker

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


--- trunk/Source/WebCore/ChangeLog	2022-03-07 14:15:29 UTC (rev 290884)
+++ trunk/Source/WebCore/ChangeLog	2022-03-07 14:19:40 UTC (rev 290885)
@@ -1,5 +1,15 @@
 2022-03-07  Antoine Quint  <[email protected]>
 
+        [web-animations] line-break should support discrete animations
+        https://bugs.webkit.org/show_bug.cgi?id=237520
+
+        Reviewed by Antti Koivisto.
+
+        * animation/CSSPropertyAnimation.cpp:
+        (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
+
+2022-03-07  Antoine Quint  <[email protected]>
+
         Parsing of list-style shorthand is incorrect
         https://bugs.webkit.org/show_bug.cgi?id=237515
 

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


--- trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp	2022-03-07 14:15:29 UTC (rev 290884)
+++ trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp	2022-03-07 14:19:40 UTC (rev 290885)
@@ -2741,6 +2741,7 @@
         new DiscretePropertyWrapper<const StyleContentAlignmentData&>(CSSPropertyJustifyContent, &RenderStyle::justifyContent, &RenderStyle::setJustifyContent),
         new DiscretePropertyWrapper<const StyleSelfAlignmentData&>(CSSPropertyJustifyItems, &RenderStyle::justifyItems, &RenderStyle::setJustifyItems),
         new DiscretePropertyWrapper<const StyleSelfAlignmentData&>(CSSPropertyJustifySelf, &RenderStyle::justifySelf, &RenderStyle::setJustifySelf),
+        new DiscretePropertyWrapper<LineBreak>(CSSPropertyLineBreak, &RenderStyle::lineBreak, &RenderStyle::setLineBreak),
         new DiscretePropertyWrapper<ListStylePosition>(CSSPropertyListStylePosition, &RenderStyle::listStylePosition, &RenderStyle::setListStylePosition),
         new DiscretePropertyWrapper<ListStyleType>(CSSPropertyListStyleType, &RenderStyle::listStyleType, &RenderStyle::setListStyleType),
         new DiscretePropertyWrapper<ObjectFit>(CSSPropertyObjectFit, &RenderStyle::objectFit, &RenderStyle::setObjectFit),
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to