Title: [276553] trunk
Revision
276553
Author
[email protected]
Date
2021-04-24 12:35:08 -0700 (Sat, 24 Apr 2021)

Log Message

Support interpolation of the background-repeat shorthand
https://bugs.webkit.org/show_bug.cgi?id=225016

Reviewed by Dean Jackson.

LayoutTests/imported/w3c:

Mark 10 WPT progressions.

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

Source/WebCore:

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

Modified Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (276552 => 276553)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2021-04-24 19:33:21 UTC (rev 276552)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2021-04-24 19:35:08 UTC (rev 276553)
@@ -1,5 +1,18 @@
 2021-04-24  Antoine Quint  <[email protected]>
 
+        Support interpolation of the background-repeat shorthand
+        https://bugs.webkit.org/show_bug.cgi?id=225016
+
+        Reviewed by Dean Jackson.
+
+        Mark 10 WPT progressions.
+
+        * web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-001-expected.txt:
+        * web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-001-expected.txt:
+        * web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-001-expected.txt:
+
+2021-04-24  Antoine Quint  <[email protected]>
+
         Fix interpolation of the clip CSS property
         https://bugs.webkit.org/show_bug.cgi?id=225017
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-001-expected.txt (276552 => 276553)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-001-expected.txt	2021-04-24 19:33:21 UTC (rev 276552)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-001-expected.txt	2021-04-24 19:35:08 UTC (rev 276553)
@@ -28,6 +28,9 @@
 PASS background-origin (type: discrete) has testAccumulation function
 PASS background-origin: "content-box" onto "padding-box"
 PASS background-origin: "padding-box" onto "content-box"
+PASS background-repeat (type: discrete) has testAccumulation function
+PASS background-repeat: "round" onto "space"
+PASS background-repeat: "space" onto "round"
 PASS border-bottom-color (type: color) has testAccumulation function
 FAIL border-bottom-color supports animating as color of rgb() with overflowed  from and to values assert_equals: The value should be rgb(255, 128, 128) at 0ms expected "rgb(255, 128, 128)" but got "rgb(255, 0, 0)"
 FAIL border-bottom-color supports animating as color of #RGB assert_equals: The value should be rgb(255, 128, 128) at 0ms expected "rgb(255, 128, 128)" but got "rgb(255, 0, 0)"

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-001-expected.txt (276552 => 276553)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-001-expected.txt	2021-04-24 19:33:21 UTC (rev 276552)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-001-expected.txt	2021-04-24 19:35:08 UTC (rev 276553)
@@ -28,6 +28,9 @@
 PASS background-origin (type: discrete) has testAddition function
 PASS background-origin: "content-box" onto "padding-box"
 PASS background-origin: "padding-box" onto "content-box"
+PASS background-repeat (type: discrete) has testAddition function
+PASS background-repeat: "round" onto "space"
+PASS background-repeat: "space" onto "round"
 PASS border-bottom-color (type: color) has testAddition function
 FAIL border-bottom-color supports animating as color of rgb() with overflowed  from and to values assert_equals: The value should be rgb(255, 128, 128) at 0ms expected "rgb(255, 128, 128)" but got "rgb(255, 0, 0)"
 FAIL border-bottom-color supports animating as color of #RGB assert_equals: The value should be rgb(255, 128, 128) at 0ms expected "rgb(255, 128, 128)" but got "rgb(255, 0, 0)"

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-001-expected.txt (276552 => 276553)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-001-expected.txt	2021-04-24 19:33:21 UTC (rev 276552)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-001-expected.txt	2021-04-24 19:35:08 UTC (rev 276553)
@@ -35,6 +35,10 @@
 PASS background-origin uses discrete animation when animating between "padding-box" and "content-box" with linear easing
 PASS background-origin uses discrete animation when animating between "padding-box" and "content-box" with effect easing
 PASS background-origin uses discrete animation when animating between "padding-box" and "content-box" with keyframe easing
+PASS background-repeat (type: discrete) has testInterpolation function
+PASS background-repeat uses discrete animation when animating between "space" and "round" with linear easing
+PASS background-repeat uses discrete animation when animating between "space" and "round" with effect easing
+PASS background-repeat uses discrete animation when animating between "space" and "round" with keyframe easing
 PASS border-bottom-color (type: color) has testInterpolation function
 PASS border-bottom-color supports animating as color of rgb()
 PASS border-bottom-color supports animating as color of #RGB

Modified: trunk/Source/WebCore/ChangeLog (276552 => 276553)


--- trunk/Source/WebCore/ChangeLog	2021-04-24 19:33:21 UTC (rev 276552)
+++ trunk/Source/WebCore/ChangeLog	2021-04-24 19:35:08 UTC (rev 276553)
@@ -1,5 +1,15 @@
 2021-04-24  Antoine Quint  <[email protected]>
 
+        Support interpolation of the background-repeat shorthand
+        https://bugs.webkit.org/show_bug.cgi?id=225016
+
+        Reviewed by Dean Jackson.
+
+        * animation/CSSPropertyAnimation.cpp:
+        (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
+
+2021-04-24  Antoine Quint  <[email protected]>
+
         Fix interpolation of the clip CSS property
         https://bugs.webkit.org/show_bug.cgi?id=225017
 

Modified: trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp (276552 => 276553)


--- trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp	2021-04-24 19:33:21 UTC (rev 276552)
+++ trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp	2021-04-24 19:35:08 UTC (rev 276553)
@@ -2470,6 +2470,7 @@
     static const CSSPropertyID animatableShorthandProperties[] = {
         CSSPropertyBackground, // for background-color, background-position, background-image
         CSSPropertyBackgroundPosition,
+        CSSPropertyBackgroundRepeat,
         CSSPropertyFont, // for font-size, font-weight
         CSSPropertyWebkitMask, // for mask-position
         CSSPropertyWebkitMaskPosition,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to