chromium/third_party/blink/web_tests/fast/dynamic/view-overflow.html

<html>
<head>
    <title></title>
</head>
<body>
    <p>
        Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13145">http://bugs.webkit.org/show_bug.cgi?id=13145</a>
        Regression: Scrollbar not resizing after display none</i>.
    </p>
    <p>
        The window should not have a vertical scroll bar.
    </p>
    <div style="position: absolute; width: 100px; top: 100px;">
        <div id="target" style="height: 2500px; background: green;"></div>
    </div>
    <script>
        document.body.offsetTop;
        document.getElementById("target").style.height = "100px";
    </script>
</body>
</html>