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

Unified Diff: LayoutTests/fast/sub-pixel/selection/selection-rect-in-sub-pixel-table.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/selection/selection-rect-in-sub-pixel-table.html
diff --git a/LayoutTests/fast/sub-pixel/selection/selection-rect-in-sub-pixel-table.html b/LayoutTests/fast/sub-pixel/selection/selection-rect-in-sub-pixel-table.html
index 3eb2b99cec8de828f2765684180a3be9b54aae00..8b900f775a6fc035e5c3b4973a5bec7b54248416 100644
--- a/LayoutTests/fast/sub-pixel/selection/selection-rect-in-sub-pixel-table.html
+++ b/LayoutTests/fast/sub-pixel/selection/selection-rect-in-sub-pixel-table.html
@@ -10,17 +10,23 @@ body {
font: 82% arial,sans-serif;
}
</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();
+}
function repaintTest() {
- window.getSelection().removeAllRanges();
+ window.getSelection().removeAllRanges();
+ if (window.testRunner)
+ testRunner.notifyDone();
}
</script>
</head>
-<body onload="runRepaintTest()">
+<body onload="runAfterDisplay(repaintTest)">
<table style="position: absolute; top: 1.5px;">
<tr>
- <td>
+ <td>
<pre id="pre">There should be no selection artifacts below.
</pre>
</td>

Powered by Google App Engine
This is Rietveld 408576698