| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style> |
| 4 ::-webkit-scrollbar { |
| 5 width: 0px; |
| 6 height: 0px; |
| 7 } |
| 8 </style> |
| 3 <script type="text/javascript"> | 9 <script type="text/javascript"> |
| 4 function runTest() | 10 function runTest() |
| 5 { | 11 { |
| 6 if (window.testRunner) | 12 if (window.testRunner) |
| 7 window.testRunner.dumpAsTextWithPixelResults(); | 13 window.testRunner.dumpAsTextWithPixelResults(); |
| 8 if (window.eventSender) | 14 if (window.eventSender) |
| 9 window.eventSender.setPageScaleFactor(0.25, 0, 0); | 15 window.eventSender.setPageScaleFactor(0.25, 0, 0); |
| 10 } | 16 } |
| 11 </script> | 17 </script> |
| 12 </head> | 18 </head> |
| 13 | 19 |
| 14 <body onload="runTest();"> | 20 <body onload="runTest();" style="width: 4000px;"> |
| 15 This test must be run in DumpRenderTree as a pixel test. There should not be
visual aritfacts after scaling the page. | 21 This test must be run in DumpRenderTree as a pixel test. There should not be
visual aritfacts after scaling the page. |
| 16 <div style="width:500px; height:500px; background-color:green;"></div> | 22 <div style="width:500px; height:500px; background-color:green;"></div> |
| 17 </body> | 23 </body> |
| 18 </html> | 24 </html> |
| OLD | NEW |