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

Side by Side Diff: LayoutTests/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 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/94480 --> 4 <!-- Bugzilla link: http://webkit.org/b/94480 -->
5 <title>CSS Test: CSS3 text-decoration-line repaint</title> 5 <title>CSS Test: CSS3 text-decoration-line repaint</title>
6 <link rel="help" href="http://http://dev.w3.org/csswg/css3-text/#text-de coration-line"/> 6 <link rel="help" href="http://http://dev.w3.org/csswg/css3-text/#text-de coration-line"/>
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.dumpAsText(true); 10 testRunner.dumpAsTextWithPixelResults();
11 </script> 11 </script>
12 <script src="../../../repaint/resources/repaint.js" type="text/javascrip t"></script> 12 <script src="../../../repaint/resources/repaint.js" type="text/javascrip t"></script>
13 <script> 13 <script>
14 function repaintTest() { 14 function repaintTest() {
15 document.getElementById("test-underline").style.textDecorationLi ne = 'underline'; 15 document.getElementById("test-underline").style.textDecorationLi ne = 'underline';
16 document.getElementById("test-overline").style.textDecorationLin e = 'overline'; 16 document.getElementById("test-overline").style.textDecorationLin e = 'overline';
17 document.getElementById("test-line-through").style.textDecoratio nLine = 'line-through'; 17 document.getElementById("test-line-through").style.textDecoratio nLine = 'line-through';
18 document.getElementById("test-blink").style.textDecorationLine = 'blink'; 18 document.getElementById("test-blink").style.textDecorationLine = 'blink';
19 document.getElementById("test-all").style.textDecorationLine = ' underline overline line-through blink'; 19 document.getElementById("test-all").style.textDecorationLine = ' underline overline line-through blink';
20 document.getElementById("test-invalid-inherit").style.textDecora tionLine = 'inherit'; 20 document.getElementById("test-invalid-inherit").style.textDecora tionLine = 'inherit';
(...skipping 21 matching lines...) Expand all
42 <!-- Empty value overwrites previous "underline". --> 42 <!-- Empty value overwrites previous "underline". -->
43 <p><span id="test-initial-empty" style="text-decoration: underline;">&gt ; &lt;</span></p> 43 <p><span id="test-initial-empty" style="text-decoration: underline;">&gt ; &lt;</span></p>
44 44
45 <!-- Ancestor inherits "text-decoration-line" value from parent on repai ntTest(). --> 45 <!-- Ancestor inherits "text-decoration-line" value from parent on repai ntTest(). -->
46 <p><span id="test-parent"><span>&gt; &lt;</span></span></p> 46 <p><span id="test-parent"><span>&gt; &lt;</span></span></p>
47 47
48 <!-- Ancestor overwrites parent value on repaintTest(). --> 48 <!-- Ancestor overwrites parent value on repaintTest(). -->
49 <p><span style="text-decoration-style: underline;"><span id="test-ancest or">&gt; &lt;</span></span></p> 49 <p><span style="text-decoration-style: underline;"><span id="test-ancest or">&gt; &lt;</span></span></p>
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698