summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/pagination/div-make-unpaginated.html
blob: d1ecfc01b062645c2da83401a3fc2248db784c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
    <head>
        <title>Dynamically remove paged overflow on a DIV element</title>
        <script>
            function test() {
                document.body.offsetTop; // trigger layout
                document.getElementById('elm').style.overflow = 'visible';
            }
        </script>
    </head>
    <body onload="test()">
        <div id="elm" style="width:30em; height:10em; overflow:-webkit-paged-x; overflow:paged-x;">
            The word 'PASS' should be seen below.
            <div style="margin-top:10em;">PASS</div>
        </div>
    </body>
</html>