| 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 img { | 8 img { |
| 9 width: 10px; | 9 width: 10px; |
| 10 height: 10px; | 10 height: 10px; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 testRunner.waitUntilDone(); | 42 testRunner.waitUntilDone(); |
| 43 testRunner.setBackingScaleFactor(2, function () { | 43 testRunner.setBackingScaleFactor(2, function () { |
| 44 drawImageToCanvas(); | 44 drawImageToCanvas(); |
| 45 testRunner.notifyDone(); | 45 testRunner.notifyDone(); |
| 46 }); | 46 }); |
| 47 } | 47 } |
| 48 | 48 |
| 49 window.onload = runTest; | 49 window.onload = runTest; |
| 50 </script> | 50 </script> |
| OLD | NEW |