Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / pagination / body-make-paginated.html
blob86fa70ed0d3c1662a069bc73ee11c3d371c9953b
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Dynamically set paged overflow on the body element</title>
5 <script>
6 function test() {
7 document.body.offsetTop; // trigger layout
8 document.body.style.overflow = '-webkit-paged-x';
9 document.body.style.overflow = 'paged-x';
11 </script>
12 </head>
13 <body onload="test()">
14 <div style="height:150vh;">
15 There should be no text below.
16 <div style="-webkit-column-break-before:always;">FAIL</div>
17 </div>
18 </body>
19 </html>