OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <script> | 3 <script> |
4 if (window.testRunner) { | 4 if (window.testRunner) { |
5 testRunner.waitUntilDone(); | 5 testRunner.waitUntilDone(); |
6 // The mac port renders tiled layers asynchronously, so we have to wait a bit
to get the actual rendering result. | 6 // The mac port renders tiled layers asynchronously, so we have to wait a bit
to get the actual rendering result. |
7 window.setTimeout(function() { | 7 window.setTimeout(function() { |
8 testRunner.notifyDone(); | 8 testRunner.notifyDone(); |
9 }, 100); | 9 }, 100); |
10 } | 10 } |
11 </script> | 11 </script> |
12 <body style="overflow:hidden"> | 12 <body style="overflow:hidden"> |
13 <div style="-webkit-transform:translateZ(0); width: 2000px; height: 10000px; top
:1px; left:3px; position:absolute"> | 13 <div style="transform:translateZ(0); width: 2000px; height: 10000px; top:1px; le
ft:3px; position:absolute"> |
14 This is some text inside a very large composited layer to test that it is render
ed sharply.<br> | 14 This is some text inside a very large composited layer to test that it is render
ed sharply.<br> |
15 The test passes if this text is crisp. | 15 The test passes if this text is crisp. |
16 </div> | 16 </div> |
17 </body> | 17 </body> |
18 </html> | 18 </html> |
OLD | NEW |