animations/animation-direction-reverse.html is flaky failing
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Mar 2020 15:26:51 +0000 (15:26 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Mar 2020 15:26:51 +0000 (15:26 +0000)
https://bugs.webkit.org/show_bug.cgi?id=206671
<rdar://problem/58838216>

Patch by Antoine Quint <graouts@apple.com> on 2020-03-18
Reviewed by Antti Koivisto.

To make this test robust we animate a non-accelerated property.

* animations/animation-direction-reverse-expected.txt:
* animations/animation-direction-reverse.html:
* platform/ios/TestExpectations:
* platform/mac/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@258634 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/animations/animation-direction-reverse-expected.txt
LayoutTests/animations/animation-direction-reverse.html
LayoutTests/platform/ios/TestExpectations
LayoutTests/platform/mac/TestExpectations

index afa918d..e679b00 100644 (file)
@@ -1,3 +1,18 @@
+2020-03-18  Antoine Quint  <graouts@apple.com>
+
+        animations/animation-direction-reverse.html is flaky failing
+        https://bugs.webkit.org/show_bug.cgi?id=206671
+        <rdar://problem/58838216>
+
+        Reviewed by Antti Koivisto.
+
+        To make this test robust we animate a non-accelerated property.
+
+        * animations/animation-direction-reverse-expected.txt:
+        * animations/animation-direction-reverse.html:
+        * platform/ios/TestExpectations:
+        * platform/mac/TestExpectations:
+
 2020-03-18  Eric Carlson  <eric.carlson@apple.com>
 
         Update some fast/mediastream to make failures easier to diagnose.
index bf29697..33fcc0c 100644 (file)
@@ -1,4 +1,4 @@
-PASS - "webkitTransform" property for "box" element at 0.5s saw something close to: 1,0,0,1,150,0
-PASS - "webkitTransform" property for "box" element at 1s saw something close to: 1,0,0,1,100,0
-PASS - "webkitTransform" property for "box" element at 2.5s saw something close to: none
+PASS - "margin-left" property for "box" element at 0.5s saw something close to: 150
+PASS - "margin-left" property for "box" element at 1s saw something close to: 100
+PASS - "margin-left" property for "box" element at 2.5s saw something close to: 0
 
index 7ea3ff2..9e5ea2c 100644 (file)
@@ -21,8 +21,8 @@
       -webkit-animation-name: "move1";
     }
     @-webkit-keyframes "move1" {
-      from { -webkit-transform: translateX(0px); }
-      to   { -webkit-transform: translateX(200px); }
+      from { margin-left: 0px; }
+      to   { margin-left: 200px; }
     }
     #result {
       color: white; /* hide from pixel results */
@@ -32,9 +32,9 @@
   <script type="text/javascript" charset="utf-8">
     const expectedValues = [
       // [animation-name, time, element-id, property, expected-value, tolerance]
-      ["move1", 0.5, "box", "webkitTransform", [1,0,0,1, 150,0], 20],
-      ["move1", 1.0, "box", "webkitTransform", [1,0,0,1,100,0], 20],
-      ["move1", 2.5, "box", "webkitTransform", 'none', 20],
+      ["move1", 0.5, "box", "margin-left", 150, 20],
+      ["move1", 1.0, "box", "margin-left", 100, 20],
+      ["move1", 2.5, "box", "margin-left", 0, 20],
     ];
 
     function pauseAnimation()
index 7e05acb..c954058 100644 (file)
@@ -3404,9 +3404,6 @@ webkit.org/b/203222 svg/wicd/rightsizing-grid.xhtml [ Pass Failure ]
 
 webkit.org/b/206864 http/tests/workers/service/basic-timeout.https.html [ Pass Failure ]
 
-
-webkit.org/b/206671 [ Debug ] animations/animation-direction-reverse.html [ Pass Failure ]
-
 webkit.org/b/206754 imported/w3c/web-platform-tests/css/css-backgrounds/background-image-centered-with-border-radius.html [ ImageOnlyFailure ]
 webkit.org/b/206754 imported/w3c/web-platform-tests/css/css-backgrounds/box-shadow-body.html [ ImageOnlyFailure ]
 
index c9d1ece..784c923 100644 (file)
@@ -1913,8 +1913,6 @@ webkit.org/b/203222 svg/wicd/rightsizing-grid.xhtml [ Pass Failure ]
 
 webkit.org/b/206685 animations/animation-direction-normal.html [ Pass Failure ]
 
-webkit.org/b/206671 animations/animation-direction-reverse.html [ Pass Failure ]
-
 webkit.org/b/206711 http/wpt/resource-timing/rt-resource-errors.html [ Pass Failure ]
 
 webkit.org/b/206752 imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable.html [ Pass Failure ]