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