<!DOCTYPE html>
<html>
<head>
    <script src="resources/repaint.js" type="text/javascript"></script>
    <script>
        function repaintTest()
        {
            document.body.style.overflow = "visible";
        }
    </script>
</head>

<body style="overflow:hidden" onload="runRepaintTest()">
    <p>You should see both vertical and horizontal scrollbars.
    <p>This is the test for <a href="https://bugs.webkit.org/show_bug.cgi?id=36461">Bug 36461 - No vertical scrollbar after the CSS class change</a>.

    <div style="width: 2000px; height: 2000px;">
</body>
</html>
