OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 ::-webkit-scrollbar { | |
6 width: 0px; | |
7 height: 0px; | |
8 } | |
9 </style> | |
10 </head> | |
11 <body style="width: 4000px; height:10000px;background-image:url('resources/grid.
png')" onload="runTest();"> | |
12 <script src="../../resources/run-after-layout-and-paint.js"></script> | |
13 <script> | |
14 // Under-invalidation checking is too slow for this test. | |
15 if (window.internals) | |
16 internals.runtimeFlags.paintUnderInvalidationCheckingEnabled = false; | |
17 | |
18 function runTest() { | |
19 if (window.testRunner) | |
20 testRunner.waitUntilDone(); | |
21 runAfterLayoutAndPaint(function() { | |
22 if (window.internals) { | |
23 window.internals.setPageScaleFactorLimits(0.5, 0.5); | |
24 window.internals.setPageScaleFactor(0.5); | |
25 } | |
26 if (window.testRunner) | |
27 testRunner.notifyDone(); | |
28 }); | |
29 } | |
30 </script> | |
31 <div style="transform:translateZ(0);"></div> | |
32 </body> | |
33 </html> | |
OLD | NEW |