<html>
<head>
<title>Test for http://bugs.webkit.org/show_bug.cgi?id=11935</title>
<style type="text/css">
div.square { width: 100px; height: 100px; }
</style>
<script type="text/javascript" src="../resources/text-based-repaint.js"></script>
<script type="text/javascript">
function repaintTest()
{
document.getElementById("target").style.overflow = "hidden";
}
</script>
</head>
<body onload="runRepaintAndPixelTest()">
<div id="target" class="square">
<div class="square" style="background-color: green"></div>
<div class="square" style="background-color: red"></div>
</div>
</body>
</html>