Log Message
[macOS iOS ] animations/animation-direction-normal.html is flaky failing https://bugs.webkit.org/show_bug.cgi?id=206685 <rdar://problem/58841791>
Reviewed by Antti Koivisto. To make this test robust we animate a non-accelerated property and we use the Web Animations API to set the time at which we want to pause the animation (2.5s). * animations/animation-direction-normal-expected.txt: * animations/animation-direction-normal.html: * platform/ios-wk2/TestExpectations: * platform/mac/TestExpectations:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (258638 => 258639)
--- trunk/LayoutTests/ChangeLog 2020-03-18 15:38:13 UTC (rev 258638)
+++ trunk/LayoutTests/ChangeLog 2020-03-18 15:59:03 UTC (rev 258639)
@@ -1,3 +1,19 @@
+2020-03-18 Antoine Quint <grao...@apple.com>
+
+ [macOS iOS ] animations/animation-direction-normal.html is flaky failing
+ https://bugs.webkit.org/show_bug.cgi?id=206685
+ <rdar://problem/58841791>
+
+ Reviewed by Antti Koivisto.
+
+ To make this test robust we animate a non-accelerated property and we use the Web Animations API to set the time
+ at which we want to pause the animation (2.5s).
+
+ * animations/animation-direction-normal-expected.txt:
+ * animations/animation-direction-normal.html:
+ * platform/ios-wk2/TestExpectations:
+ * platform/mac/TestExpectations:
+
2020-03-18 Jason Lawrence <lawrenc...@apple.com>
[ iOS wk2 Release ] platform/ios/ios/plugin/youtube-flash-plugin-iframe-no-height-or-width.html is flaky failing.
Modified: trunk/LayoutTests/animations/animation-direction-normal-expected.txt (258638 => 258639)
--- trunk/LayoutTests/animations/animation-direction-normal-expected.txt 2020-03-18 15:38:13 UTC (rev 258638)
+++ trunk/LayoutTests/animations/animation-direction-normal-expected.txt 2020-03-18 15:59:03 UTC (rev 258639)
@@ -1,4 +1,4 @@
-PASS - "webkitTransform" property for "box" element at 0.5s saw something close to: 1,0,0,1,50,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: 1,0,0,1,50,0
+PASS - "margin-left" property for "box" element at 0.5s saw something close to: 50
+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: 50
Modified: trunk/LayoutTests/animations/animation-direction-normal.html (258638 => 258639)
--- trunk/LayoutTests/animations/animation-direction-normal.html 2020-03-18 15:38:13 UTC (rev 258638)
+++ trunk/LayoutTests/animations/animation-direction-normal.html 2020-03-18 15:59:03 UTC (rev 258639)
@@ -30,8 +30,8 @@
background-color: green;
}
@-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 */
@@ -41,14 +41,16 @@
<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, 50,0], 20],
- ["move1", 1.0, "box", "webkitTransform", [1,0,0,1,100,0], 20],
- ["move1", 2.5, "box", "webkitTransform", [1,0,0,1, 50,0], 20],
+ ["move1", 0.5, "box", "margin-left", 50, 20],
+ ["move1", 1.0, "box", "margin-left", 100, 20],
+ ["move1", 2.5, "box", "margin-left", 50, 20],
];
function pauseAnimation()
{
- document.getElementById("box").style.webkitAnimationPlayState = "paused";
+ const box = document.getElementById("box");
+ box.style.webkitAnimationPlayState = "paused";
+ box.getAnimations()[0].currentTime = 2500;
}
function setTimers()
Modified: trunk/LayoutTests/platform/ios-wk2/TestExpectations (258638 => 258639)
--- trunk/LayoutTests/platform/ios-wk2/TestExpectations 2020-03-18 15:38:13 UTC (rev 258638)
+++ trunk/LayoutTests/platform/ios-wk2/TestExpectations 2020-03-18 15:59:03 UTC (rev 258639)
@@ -1318,8 +1318,6 @@
webkit.org/b/206630 [ Release ] fast/forms/validationMessage.html [ Pass Timeout ]
-webkit.org/b/206685 [ Debug ] animations/animation-direction-normal.html [ Pass Failure ]
-
webkit.org/b/206687 imported/w3c/web-platform-tests/beacon/idlharness.any.html [ Pass Timeout ]
webkit.org/b/206752 imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable.html [ Pass Failure ]
Modified: trunk/LayoutTests/platform/mac/TestExpectations (258638 => 258639)
--- trunk/LayoutTests/platform/mac/TestExpectations 2020-03-18 15:38:13 UTC (rev 258638)
+++ trunk/LayoutTests/platform/mac/TestExpectations 2020-03-18 15:59:03 UTC (rev 258639)
@@ -1911,8 +1911,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/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 ]
_______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes