1 <!-- Based on fast/repaint/absolute-display-block-to-none.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
5 window
.expectedPaintInvalidationObjects
= [
6 "LayoutBlockFlow (positioned) DIV id='absolute'",
8 function paintInvalidationTest() {
9 document
.getElementById('absolute').style
.display
= 'none';
11 onload
= runPaintInvalidationTest
;
13 When an absolute positioned element is set display:none, we should not invalidate the whole body.
14 <div id=
"absolute" style=
"position: absolute; width: 100px; height: 100px; top: 100px; left: 100px; background-color: red"></div>