OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <style> | 5 <style> |
| 6 ::-webkit-scrollbar { |
| 7 width: 0px; |
| 8 height: 0px; |
| 9 } |
6 .composited { | 10 .composited { |
7 background-color: green; | 11 background-color: green; |
8 width: 200px; | 12 width: 200px; |
9 height: 1333px; | 13 height: 1333px; |
10 transform: translateZ(0); | 14 transform: translateZ(0); |
11 } | 15 } |
12 </style> | 16 </style> |
13 <script> | 17 <script> |
14 if (window.testRunner) | 18 if (window.testRunner) |
15 testRunner.dumpAsTextWithPixelResults(); | 19 testRunner.dumpAsTextWithPixelResults(); |
16 | 20 |
17 function scalePage() | 21 function scalePage() |
18 { | 22 { |
19 if (window.internals) | 23 if (window.internals) |
20 window.internals.setPageScaleFactor(1.50025); | 24 window.internals.setPageScaleFactor(1.50025); |
21 } | 25 } |
22 | 26 |
23 window.addEventListener('load', scalePage, false); | 27 window.addEventListener('load', scalePage, false); |
24 </script> | 28 </script> |
25 </head> | 29 </head> |
26 <body> | 30 <body> |
27 <!-- This test should not crash. --> | 31 <!-- This test should not crash. --> |
28 <div class="composited"></div> | 32 <div class="composited"></div> |
29 </body> | 33 </body> |
30 </html> | 34 </html> |
OLD | NEW |