OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <script src="../../resources/run-after-layout-and-paint.js"></script> | 3 <script src="../resources/run-after-layout-and-paint.js"></script> |
4 | 4 |
5 <style> | 5 <style> |
6 canvas, img { margin-bottom: -10px; } | 6 canvas, img { margin-bottom: -10px; } |
7 </style> | 7 </style> |
8 | 8 |
9 <body style="overflow: hidden"> | 9 <body style="overflow: hidden"> |
10 <!-- The red sector of the canvas images should be at 12 o'clock. --> | 10 <!-- The red sector of the canvas images should be at 12 o'clock. --> |
11 <p title="html canvas 2d element"> | 11 <p title="html canvas 2d element"> |
12 <canvas width="700px" height="200px" /> | 12 <canvas width="700px" height="200px" /> |
13 </p> | 13 </p> |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 function done() { | 51 function done() { |
52 setTimeout(function() { window.testRunner.notifyDone() }, 0); | 52 setTimeout(function() { window.testRunner.notifyDone() }, 0); |
53 } | 53 } |
54 | 54 |
55 if (window.testRunner) { | 55 if (window.testRunner) { |
56 testRunner.dumpAsTextWithPixelResults(); | 56 testRunner.dumpAsTextWithPixelResults(); |
57 testRunner.waitUntilDone(); | 57 testRunner.waitUntilDone(); |
58 } | 58 } |
59 </script> | 59 </script> |
60 </html> | 60 </html> |
OLD | NEW |