| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 ::-webkit-scrollbar { | 5 ::-webkit-scrollbar { |
| 6 width: 0px; | 6 width: 0px; |
| 7 height: 0px; | 7 height: 0px; |
| 8 } | 8 } |
| 9 </style> | 9 </style> |
| 10 </head> | 10 </head> |
| 11 <body style="width: 4000px; height:10000px;background-image:url('resources/grid.
png')" onload="runTest();"> | 11 <body style="width: 4000px; height:10000px;background-image:url('resources/grid.
png')" onload="runTest();"> |
| 12 <script src="../../resources/run-after-display.js"></script> | 12 <script src="../../resources/run-after-display.js"></script> |
| 13 <script> | 13 <script> |
| 14 function runTest() { | 14 function runTest() { |
| 15 if (window.testRunner) | 15 if (window.testRunner) |
| 16 testRunner.waitUntilDone(); | 16 testRunner.waitUntilDone(); |
| 17 runAfterDisplay(function() { | 17 runAfterDisplay(function() { |
| 18 if (window.eventSender) | 18 if (window.eventSender) |
| 19 window.eventSender.setPageScaleFactor(0.5, 0, 0); | 19 window.eventSender.setPageScaleFactor(0.5, 0, 0); |
| 20 if (window.testRunner) | 20 if (window.testRunner) |
| 21 testRunner.notifyDone(); | 21 testRunner.notifyDone(); |
| 22 }); | 22 }); |
| 23 } | 23 } |
| 24 </script> | 24 </script> |
| 25 <div style="-webkit-transform:translateZ(0);"></div> | 25 <div style="transform:translateZ(0);"></div> |
| 26 </body> | 26 </body> |
| 27 </html> | 27 </html> |
| OLD | NEW |