| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <style> | 2 <style> |
| 3 img { | 3 img { |
| 4 width: 110px; | 4 width: 110px; |
| 5 height: 110px; | 5 height: 110px; |
| 6 image-rendering: pixelated; | 6 image-rendering: pixelated; |
| 7 transform: translateZ(0); | 7 transform: translateZ(0); |
| 8 } | 8 } |
| 9 </style> | 9 </style> |
| 10 <body> | 10 <body> |
| 11 <!-- Test that directly composited images (translateZ(0)) can be upscaled pi
xelated. --> | 11 <!-- Test that directly composited images (translateZ(0)) can be upscaled pi
xelated. --> |
| 12 <img src="resources/grid-small.png"> | 12 <img src="resources/grid-small.png"> |
| 13 </body> | 13 </body> |
| 14 <script> | 14 <script> |
| 15 // Ignore the render tree. | 15 // Ignore the render tree. |
| 16 if (window.testRunner) | 16 if (window.testRunner) |
| 17 window.testRunner.dumpAsTextWithPixelResults(); | 17 window.testRunner.dumpAsTextWithPixelResults(); |
| 18 </script> | 18 </script> |
| OLD | NEW |