| OLD | NEW |
| 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 Loading... |
| 42 <!-- Empty value overwrites previous "underline". --> | 42 <!-- Empty value overwrites previous "underline". --> |
| 43 <p><span id="test-initial-empty" style="text-decoration: underline;">>
; <</span></p> | 43 <p><span id="test-initial-empty" style="text-decoration: underline;">>
; <</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>> <</span></span></p> | 46 <p><span id="test-parent"><span>> <</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">> <</span></span></p> | 49 <p><span style="text-decoration-style: underline;"><span id="test-ancest
or">> <</span></span></p> |
| 50 </body> | 50 </body> |
| 51 </html> | 51 </html> |
| OLD | NEW |