<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<script src="resources/repaint.js"></script>
<script>
    function repaintTest()
    {
        document.getElementById("t").style.height='100px';
    }
</script>
</head>
<body onload="runRepaintTest();">
<p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=6770">Bugzilla bug 6770</a> REGRESSION: Incomplete repaint when block with clipping grows</p>

<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> 
There should be a white square with a blue border below, and no line running through
the middle of the square.
</p>

<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>  
The white square will have a blue border and a blue horizontal line running through its middle.
</p>

<div style="overflow: hidden;">
    <div id="s" style="border: 4px solid blue; width: 100px;">
        <div id="t" style="width: 10px; height: 48px; margin-left: 120px;"></div>
    </div>
</div>

</body>
</html>
