blob: caa11eb99dabfa7cd3ff7e6c450a6d521ff7731f [file] [log] [blame]
<!-- Based on fast/repaint/invalidation-with-zero-size-object.html -->
<!doctype html>
<script src="resources/paint-invalidation-test.js"></script>
<script>
window.expectedPaintInvalidationObjects = [
"LayoutBlockFlow DIV id='element'",
];
function paintInvalidationTest()
{
document.getElementById('element').style.width = '0';
document.getElementById('element').style.height = '0';
}
onload = runPaintInvalidationTest;
</script>
<style>
#element {
width: 200px;
height: 200px;
background-color: red;
}
#inner {
width: 100%;
height: 100%;
}
</style>
<div id='element'>
<div id='inner'></div>
</div>