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

Unified Diff: LayoutTests/compositing/repaint/shrink-layer.html

Issue 207383002: Remove repaint.js from layout tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More expectations 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/compositing/repaint/shrink-layer.html
diff --git a/LayoutTests/compositing/repaint/shrink-layer.html b/LayoutTests/compositing/repaint/shrink-layer.html
index a4cda4b2487453f0c847cf4156d3dea51a590a12..0b1c4e118edca668c3148303f26e291fbb1c842c 100644
--- a/LayoutTests/compositing/repaint/shrink-layer.html
+++ b/LayoutTests/compositing/repaint/shrink-layer.html
@@ -9,17 +9,20 @@
height: 500px;
}
</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.getElementById("ruler").style.height = "450px";
+ testRunner.notifyDone();
}
</script>
</head>
-<body onload="runRepaintTest()">
+<body onload="runAfterDisplay(repaintTest);">
<div id="ruler">
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698