OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
| 4 <script> |
| 5 if (window.internals) |
| 6 internals.settings.setRegionBasedColumnsEnabled(true); |
| 7 </script> |
4 <title>Changing from paged-x to paged-y</title> | 8 <title>Changing from paged-x to paged-y</title> |
5 <script> | 9 <script> |
6 function test() { | 10 function test() { |
7 document.body.offsetTop; // trigger layout | 11 document.body.offsetTop; // trigger layout |
8 document.body.style.overflow = 'paged-y'; | 12 document.body.style.overflow = 'paged-y'; |
9 document.body.style.overflow = '-webkit-paged-y'; | 13 document.body.style.overflow = '-webkit-paged-y'; |
10 } | 14 } |
11 </script> | 15 </script> |
12 </head> | 16 </head> |
13 <body style="overflow:-webkit-paged-x; overflow:paged-x;" onload="test()"> | 17 <body style="overflow:-webkit-paged-x; overflow:paged-x;" onload="test()"> |
14 <div style="height:150vh;"> | 18 <div style="height:150vh;"> |
15 There should be a vertical scrollbar on this page. | 19 There should be a vertical scrollbar on this page. |
16 </div> | 20 </div> |
17 </body> | 21 </body> |
18 </html> | 22 </html> |
OLD | NEW |