Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / multicol / newmulticol / compare-with-old-impl / body-make-paginated.html
1 <!DOCTYPE html>
2 <html>
3     <head>
4         <script>
5             if (window.internals)
6                 internals.settings.setRegionBasedColumnsEnabled(true);
7         </script>
8         <title>Dynamically set paged overflow on the body element</title>
9         <script>
10             function test() {
11                 document.body.offsetTop; // trigger layout
12                 document.body.style.overflow = '-webkit-paged-x';
13                 document.body.style.overflow = 'paged-x';
14             }
15         </script>
16     </head>
17     <body onload="test()">
18         <div style="height:150vh;">
19             There should be no text below.
20             <div style="-webkit-column-break-before:always;">FAIL</div>
21         </div>
22     </body>
23 </html>