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