| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <style> | 2 <style> |
| 3 canvas { | 3 canvas { |
| 4 width: 10px; | 4 width: 10px; |
| 5 height: 10px; | 5 height: 10px; |
| 6 image-rendering: pixelated; | 6 image-rendering: pixelated; |
| 7 } | 7 } |
| 8 </style> | 8 </style> |
| 9 <body> | 9 <body> |
| 10 <!-- Draw the expected 20x20 checkerboards using canvases. --> | 10 <!-- Draw the expected 20x20 checkerboards using canvases. --> |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 testRunner.waitUntilDone(); | 65 testRunner.waitUntilDone(); |
| 66 testRunner.setBackingScaleFactor(2, function () { | 66 testRunner.setBackingScaleFactor(2, function () { |
| 67 drawImageToCanvas(); | 67 drawImageToCanvas(); |
| 68 testRunner.notifyDone(); | 68 testRunner.notifyDone(); |
| 69 }); | 69 }); |
| 70 } | 70 } |
| 71 | 71 |
| 72 window.onload = runTest; | 72 window.onload = runTest; |
| 73 </script> | 73 </script> |
| OLD | NEW |