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