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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <!-- Bugzilla link: http://webkit.org/b/94094 --> 4 <!-- Bugzilla link: http://webkit.org/b/94094 -->
5 <title>CSS Test: CSS3 text-decoration-style repaint</title> 5 <title>CSS Test: CSS3 text-decoration-style repaint</title>
6 <link rel="help" href="http://http://dev.w3.org/csswg/css3-text/#text-de coration-style"/> 6 <link rel="help" href="http://http://dev.w3.org/csswg/css3-text/#text-de coration-style"/>
7 <meta name="flags" content="ahem"/> 7 <meta name="flags" content="ahem"/>
8 <script> 8 <script>
9 if (window.testRunner) 9 if (window.testRunner) {
10 testRunner.dumpAsTextWithPixelResults(); 10 testRunner.dumpAsTextWithPixelResults();
11 testRunner.waitUntilDone();
12 }
11 </script> 13 </script>
12 <script src="../../../repaint/resources/repaint.js" type="text/javascrip t"></script> 14 <script src="../../../../resources/run-after-display.js" type="text/java script"></script>
13 <script> 15 <script>
14 function repaintTest() { 16 function repaintTest() {
15 document.getElementById("test-initial-blank").style.textDecorati onStyle = ''; 17 document.getElementById("test-initial-blank").style.textDecorati onStyle = '';
16 document.getElementById("test-initial-explicit").style.textDecor ationStyle = 'initial'; 18 document.getElementById("test-initial-explicit").style.textDecor ationStyle = 'initial';
17 document.getElementById("test-invalid-unknown").style.textDecora tionStyle = 'unknown'; 19 document.getElementById("test-invalid-unknown").style.textDecora tionStyle = 'unknown';
18 document.getElementById("test-inherit-explicit").style.textDecor ationStyle = 'inherit'; 20 document.getElementById("test-inherit-explicit").style.textDecor ationStyle = 'inherit';
19 document.getElementById("test-repaint-parent").style.textDecorat ionStyle = 'double'; 21 document.getElementById("test-repaint-parent").style.textDecorat ionStyle = 'double';
22 if (window.testRunner)
23 testRunner.notifyDone();
20 } 24 }
21 </script> 25 </script>
22 </head> 26 </head>
23 <body onload="runRepaintTest();" style="font: 20px Ahem; -webkit-font-smooth ing: none; -webkit-text-stroke: 1px black; -webkit-text-fill-color: white;"> 27 <body onload="runAfterDisplay(repaintTest);" style="font: 20px Ahem; -webkit -font-smoothing: none; -webkit-text-stroke: 1px black; -webkit-text-fill-color: white;">
24 <!-- Blank and 'initial' values fallbacks to 'solid' on repaintTest(). - -> 28 <!-- Blank and 'initial' values fallbacks to 'solid' on repaintTest(). - ->
25 <p><span id="test-initial-blank" style="text-decoration: underline; text -decoration-style: double;">lorem ipsum</span></p> 29 <p><span id="test-initial-blank" style="text-decoration: underline; text -decoration-style: double;">lorem ipsum</span></p>
26 <p><span id="test-initial-explicit" style="text-decoration: underline; t ext-decoration-style: double;">lorem ipsum</span></p> 30 <p><span id="test-initial-explicit" style="text-decoration: underline; t ext-decoration-style: double;">lorem ipsum</span></p>
27 <!-- Unknown value is ignored and fallback to last valid value on repain tTest() --> 31 <!-- Unknown value is ignored and fallback to last valid value on repain tTest() -->
28 <p><span id="test-invalid-unknown" style="text-decoration: underline; te xt-decoration-style: double;">lorem ipsum</span></p> 32 <p><span id="test-invalid-unknown" style="text-decoration: underline; te xt-decoration-style: double;">lorem ipsum</span></p>
29 <!-- Ancestor can explicitly request 'inherit' from parent on repaintTes t() --> 33 <!-- Ancestor can explicitly request 'inherit' from parent on repaintTes t() -->
30 <p><span style="text-decoration: underline; text-decoration-style: doubl e;"><span id="test-inherit-explicit" style="text-decoration-style: dashed;">lore m ipsum</span></span></p> 34 <p><span style="text-decoration: underline; text-decoration-style: doubl e;"><span id="test-inherit-explicit" style="text-decoration-style: dashed;">lore m ipsum</span></span></p>
31 <!-- Ancestor span should not inherit 'double' style from parent on repa intTest(). --> 35 <!-- Ancestor span should not inherit 'double' style from parent on repa intTest(). -->
32 <p><span id="test-repaint-parent" style="text-decoration: underline;"><s pan>lorem ipsum</span></span></p> 36 <p><span id="test-repaint-parent" style="text-decoration: underline;"><s pan>lorem ipsum</span></span></p>
33 </body> 37 </body>
34 </html> 38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698