OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style type="text/css"> | 4 <style type="text/css"> |
5 body { | 5 body { |
6 font-size: 5em; | 6 font-size: 5em; |
7 -webkit-background-clip: text; | 7 -webkit-background-clip: text; |
8 height: 2000px; | 8 height: 2000px; |
9 overflow: hidden; | 9 overflow: hidden; |
10 } | 10 } |
11 </style> | 11 </style> |
12 <script> | 12 <script> |
13 if (window.testRunner) | 13 if (window.testRunner) |
14 testRunner.dumpAsText(true); | 14 testRunner.dumpAsTextWithPixelResults(); |
15 | 15 |
16 function doTest() | 16 function doTest() |
17 { | 17 { |
18 window.scrollTo(0, 600); | 18 window.scrollTo(0, 600); |
19 } | 19 } |
20 window.addEventListener('load', doTest, false); | 20 window.addEventListener('load', doTest, false); |
21 </script> | 21 </script> |
22 </head> | 22 </head> |
23 <body> | 23 <body> |
24 | 24 |
25 Text should remain legible when window is resized. No background artifacts shoul
d appear. | 25 Text should remain legible when window is resized. No background artifacts shoul
d appear. |
26 | 26 |
27 </body> | 27 </body> |
28 </html> | 28 </html> |
OLD | NEW |