summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/pagination/html-make-paginated.html
blob: d2f3a1891c6464da4a4978d4a593e61b49536574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
    <head>
        <title>Dynamically set paged overflow on the root element</title>
        <script>
            function test() {
                document.body.offsetTop; // trigger layout
                document.documentElement.style.overflow = '-webkit-paged-x';
                document.documentElement.style.overflow = 'paged-x';
            }
        </script>
    </head>
    <body onload="test()">
        <div style="height:150vh;">
            There should be no text below.
            <div style="-webkit-column-break-before:always;">FAIL</div>
        </div>
    </body>
</html>