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: 5px; width: 380px } | 6 canvas, img { margin: 5px; width: 380px } |
7 </style> | 7 </style> |
8 | 8 |
9 <body style="overflow: hidden"> | 9 <body style="overflow: hidden"> |
10 <!-- The _blue_ sector of the <img> image should be at 12 o'clock. --> | 10 <!-- The _blue_ sector of the <img> image should be at 12 o'clock. --> |
11 <img> | 11 <img> |
12 <!-- The red sector of the <canvas> image should be at 12 o'clock. --> | 12 <!-- The red sector of the <canvas> image should be at 12 o'clock. --> |
13 <canvas></canvas> | 13 <canvas></canvas> |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 function done() { | 46 function done() { |
47 setTimeout(function() { window.testRunner.notifyDone() }, 0); | 47 setTimeout(function() { window.testRunner.notifyDone() }, 0); |
48 } | 48 } |
49 | 49 |
50 if (window.testRunner) { | 50 if (window.testRunner) { |
51 testRunner.dumpAsTextWithPixelResults(); | 51 testRunner.dumpAsTextWithPixelResults(); |
52 testRunner.waitUntilDone(); | 52 testRunner.waitUntilDone(); |
53 } | 53 } |
54 </script> | 54 </script> |
55 </html> | 55 </html> |
OLD | NEW |