Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: LayoutTests/fast/animation/last-child-assert.html

Issue 890393002: Deflaked fast/animation/last-child-assert.html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/FlakyTests ('k') | LayoutTests/fast/animation/last-child-assert-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/animation/last-child-assert.html
diff --git a/LayoutTests/fast/animation/last-child-assert.html b/LayoutTests/fast/animation/last-child-assert.html
index a43b3f4e065e7343358a7951c78f6d8806d9fb6d..a04620aafb514706660934e184fd01734e934835 100644
--- a/LayoutTests/fast/animation/last-child-assert.html
+++ b/LayoutTests/fast/animation/last-child-assert.html
@@ -1,11 +1,15 @@
<!DOCTYPE html>
<style>
-html { background-color: white }
-body { -webkit-transition: background-color 1s }
+body { -webkit-transition: background-color 1ms }
#nomatch :last-child { color: green }
</style>
<p>Pass if no assert or crash.</p>
<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+ document.body.addEventListener("transitionend", function(){ testRunner.notifyDone(); }, false);
+}
document.body.offsetTop;
-document.body.style.backgroundColor = "white";
+document.body.style.backgroundColor = "green";
</script>
« no previous file with comments | « LayoutTests/FlakyTests ('k') | LayoutTests/fast/animation/last-child-assert-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698