<html>
<head>
    <link rel="stylesheet" href="resources/default.css">
    <script src="resources/repaint.js" type="text/javascript"></script>
    <script type="text/javascript">
        if (window.testRunner)
            testRunner.dumpAsText(true);
        function repaintTest()
        {
            document.getElementById('overflowParent').style.overflow = "hidden";
        }
    </script>
</head>
<body style="height:2000px;" onload="runRepaintTest()">
    <!-- You should see 2 green rectangle sharing one corner in the output. -->
    <div id="overflowParent" class="absolute green"><div style="top:100px; left:100px;" class="relative red"></div></div>
</body>
</html>
