summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/dynamic/window-scrollbars-test.html
blob: c6110353c7690fa91d5bb792f871c6045fd0b554 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<body>
    This window should not have scroll bars.
    <script>
        var width = innerWidth;
        var height = innerHeight;

        document.documentElement.style.height = height + 50 + "px";
        document.documentElement.style.width = width + "px";
        document.body.offsetTop;
        document.documentElement.style.height = height + "px";
    </script>
</body>