blob: 63de14a245e55c8400c1fe2d652930e246ae0f0c [file] [log] [blame]
<!-- Based on fast/repaint/absolute-display-block-to-none.html -->
<!DOCTYPE html>
<script src="resources/paint-invalidation-test.js"></script>
<script>
function paintInvalidationTest() {
document.getElementById('absolute').style.display = 'none';
}
onload = runPaintInvalidationTest;
</script>
When an absolute positioned element is set display:none, we should not invalidate the whole body.
<div id="absolute" style="position: absolute; width: 100px; height: 100px; top: 100px; left: 100px; background-color: red"></div>