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

Unified Diff: LayoutTests/css3/filters/filter-repaint-composited-fallback-crash.html

Issue 207153002: Remove repaint.js include from css3/filters tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
Index: LayoutTests/css3/filters/filter-repaint-composited-fallback-crash.html
diff --git a/LayoutTests/css3/filters/filter-repaint-composited-fallback-crash.html b/LayoutTests/css3/filters/filter-repaint-composited-fallback-crash.html
index 413632d5879bb9b5f32b69cd7d7412e00f703230..930c43ca36e8604a28125b035c3d08ef55f5b194 100644
--- a/LayoutTests/css3/filters/filter-repaint-composited-fallback-crash.html
+++ b/LayoutTests/css3/filters/filter-repaint-composited-fallback-crash.html
@@ -32,19 +32,24 @@
}
</style>
- <script src="../../fast/repaint/resources/repaint.js"></script>
+ <script src="../../resources/run-after-display.js"></script>
<script>
- if (window.testRunner)
+ if (window.testRunner) {
testRunner.dumpAsTextWithPixelResults();
+ testRunner.waitUntilDone();
+ }
function repaintTest()
{
- document.querySelector(".before").classList.remove("before");
+ runAfterDisplay(function() {
+ document.querySelector(".before").classList.remove("before");
+ testRunner.notifyDone();
+ });
}
</script>
</head>
-<body onload="runRepaintTest()">
+<body onload="repaintTest()">
<div class="blur before">
<div class="box"></div>
« no previous file with comments | « LayoutTests/css3/filters/filter-repaint-composited-fallback.html ('k') | LayoutTests/css3/filters/filter-repaint-sepia.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698