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

Unified Diff: LayoutTests/css3/filters/filter-repaint-sepia.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-sepia.html
diff --git a/LayoutTests/css3/filters/filter-repaint-sepia.html b/LayoutTests/css3/filters/filter-repaint-sepia.html
index aca4797c7737e382b5361d92274922643bf4cf74..f9803c4584085a15e025c07d6f4e7aff82d547ee 100644
--- a/LayoutTests/css3/filters/filter-repaint-sepia.html
+++ b/LayoutTests/css3/filters/filter-repaint-sepia.html
@@ -20,19 +20,23 @@
}
</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");
+ if (window.testRunner)
+ testRunner.notifyDone();
}
</script>
</head>
-<body onload="runRepaintTest()">
+<body onload="repaintTest()">
<div class="sepia">
<div class="box"></div>

Powered by Google App Engine
This is Rietveld 408576698