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

Unified Diff: LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.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/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.html
diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.html b/LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.html
index a9c7a56f829596aae1e3474d8ab0b94999171ca4..4882480699d4a70cc4670c973e3b47547279bff7 100644
--- a/LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.html
+++ b/LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.html
@@ -6,10 +6,12 @@
<link rel="help" href="http://http://dev.w3.org/csswg/css3-text/#text-decoration-style"/>
<meta name="flags" content="ahem"/>
<script>
- if (window.testRunner)
+ if (window.testRunner) {
testRunner.dumpAsTextWithPixelResults();
+ testRunner.waitUntilDone();
+ }
</script>
- <script src="../../../repaint/resources/repaint.js" type="text/javascript"></script>
+ <script src="../../../../resources/run-after-display.js" type="text/javascript"></script>
<script>
function repaintTest() {
document.getElementById("test-initial-blank").style.textDecorationStyle = '';
@@ -17,10 +19,12 @@
document.getElementById("test-invalid-unknown").style.textDecorationStyle = 'unknown';
document.getElementById("test-inherit-explicit").style.textDecorationStyle = 'inherit';
document.getElementById("test-repaint-parent").style.textDecorationStyle = 'double';
+ if (window.testRunner)
+ testRunner.notifyDone();
}
</script>
</head>
- <body onload="runRepaintTest();" style="font: 20px Ahem; -webkit-font-smoothing: none; -webkit-text-stroke: 1px black; -webkit-text-fill-color: white;">
+ <body onload="runAfterDisplay(repaintTest);" style="font: 20px Ahem; -webkit-font-smoothing: none; -webkit-text-stroke: 1px black; -webkit-text-fill-color: white;">
<!-- Blank and 'initial' values fallbacks to 'solid' on repaintTest(). -->
<p><span id="test-initial-blank" style="text-decoration: underline; text-decoration-style: double;">lorem ipsum</span></p>
<p><span id="test-initial-explicit" style="text-decoration: underline; text-decoration-style: double;">lorem ipsum</span></p>

Powered by Google App Engine
This is Rietveld 408576698