blob: 80acba6b44dafc112071959cbb3857b9555b536c [file] [log] [blame]
<!-- Based on fast/repaint/subtree-root-clip-2.html -->
<html>
<head>
<script src="resources/paint-invalidation-test.js"></script>
<script>
window.expectedPaintInvalidationObjects = [
"LayoutBlockFlow (floating) DIV",
"LayoutBlockFlow DIV id='target'",
];
function paintInvalidationTest()
{
document.getElementById("target").style.width = "100px";
}
</script>
</head>
<body onload="runPaintInvalidationTest()">
<div>
<span style="-position: relative; top: 25px; left: 25px;">
<div style="float: left; height: 100px; width: 100px; overflow: hidden; background-color: red;">
<div id="target" style="height: 100px; width: 0; background-color: green;">
</div>
</div>
</span>
</div>
</body>
</html>