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