OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <style> | 2 <style> |
3 image { | 3 image { |
4 image-rendering: pixelated; | 4 image-rendering: pixelated; |
5 } | 5 } |
6 </style> | 6 </style> |
7 <body> | 7 <body> |
8 <!-- The resulting image should be 100x100, consisting of 4 50x50 blocks of
solid color, with no blurring of edges --> | 8 <!-- The resulting image should be 100x100, consisting of 4 50x50 blocks of
solid color, with no blurring of edges --> |
9 <svg><image width="100" height="100" xlink:href="data:image/png;base64,iVBOR
w0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFElEQVQIHWP4z8DwHwyBNJDN8B8AQNEG+t5Ik
2kAAAAASUVORK5CYII="/></svg> | 9 <svg><image width="100" height="100" xlink:href="data:image/png;base64,iVBOR
w0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFElEQVQIHWP4z8DwHwyBNJDN8B8AQNEG+t5Ik
2kAAAAASUVORK5CYII="/></svg> |
10 </body> | 10 </body> |
11 <script> | 11 <script> |
12 // Ignore the render tree. | 12 // Ignore the render tree. |
13 if (window.testRunner) | 13 if (window.testRunner) |
14 window.testRunner.dumpAsTextWithPixelResults(); | 14 window.testRunner.dumpAsTextWithPixelResults(); |
15 </script> | 15 </script> |
OLD | NEW |