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

Unified Diff: LayoutTests/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.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/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.html
diff --git a/LayoutTests/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.html b/LayoutTests/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.html
index ab5528c0263d2d813168ed674f977d14d1376d53..0de3ca89d04cc28d0fbe40a088006cd73365df44 100644
--- a/LayoutTests/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.html
+++ b/LayoutTests/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.html
@@ -10,10 +10,11 @@
display: inline-block;
}
</style>
-<script src="../repaint/resources/repaint.js" type="text/javascript"></script>
+<script src="../../resources/run-after-display.js" type="text/javascript"></script>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
+ testRunner.dumpAsTextWithPixelResults();
internals.settings.setMockScrollbarsEnabled(true);
}
@@ -37,7 +38,7 @@ function repaintTest() {
}
</script>
</head>
-<body onload="setupIframes();runRepaintTest()">
+<body onload="setupIframes();runAfterDisplay(repaintTest);">
<p>The iframes below should remain grey with no repaint artifacts when scrolling.</p>
<div>
<div class="container">

Powered by Google App Engine
This is Rietveld 408576698