Title: [222178] trunk/LayoutTests
- Revision
- 222178
- Author
- an...@apple.com
- Date
- 2017-09-18 14:01:30 -0700 (Mon, 18 Sep 2017)
Log Message
Another WK1 unflake attempt.
* transitions/transition-display-property-2.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (222177 => 222178)
--- trunk/LayoutTests/ChangeLog 2017-09-18 20:48:49 UTC (rev 222177)
+++ trunk/LayoutTests/ChangeLog 2017-09-18 21:01:30 UTC (rev 222178)
@@ -1,3 +1,9 @@
+2017-09-18 Antti Koivisto <an...@apple.com>
+
+ Another WK1 unflake attempt.
+
+ * transitions/transition-display-property-2.html:
+
2017-09-18 Ryosuke Niwa <rn...@webkit.org>
getData('text/plain') doesn't work on iOS 10
Modified: trunk/LayoutTests/transitions/transition-display-property-2.html (222177 => 222178)
--- trunk/LayoutTests/transitions/transition-display-property-2.html 2017-09-18 20:48:49 UTC (rev 222177)
+++ trunk/LayoutTests/transitions/transition-display-property-2.html 2017-09-18 21:01:30 UTC (rev 222178)
@@ -10,15 +10,22 @@
</style>
<test></test>
<script>
+if (window.testRunner)
+ testRunner.waitUntilDone();
+
const test = document.querySelector("test");
-test.offsetWidth;
-if (window.testRunner) {
- testRunner.waitUntilDone();
- requestAnimationFrame(() => {
- testRunner.notifyDone();
- });
+function tryComplete()
+{
+ if (test.offsetHeight < 100) {
+ if (window.testRunner)
+ testRunner.notifyDone();
+ return;
+ }
+ setTimeout(tryComplete, 10);
}
+
+test.offsetWidth;
test.className = "animate";
-test.offsetWidth;
+tryComplete();
</script>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes