1 <!-- Based on fast/repaint/absolute-position-moved.html -->
4 <link rel=
"stylesheet" href=
"../../../fast/repaint/resources/default.css">
5 <script src=
"resources/paint-invalidation-test.js" type=
"text/javascript"></script>
6 <script type=
"text/javascript">
7 window
.expectedPaintInvalidationObjects
= [
8 "LayoutBlockFlow (positioned) DIV id='absoluteDiv' class='absolute green'",
9 "LayoutBlockFlow (positioned) DIV id='absoluteDiv' class='absolute green'",
11 function paintInvalidationTest()
13 var absoluteDiv
= document
.getElementById('absoluteDiv');
14 absoluteDiv
.parentNode
.removeChild(absoluteDiv
);
15 document
.body
.appendChild(absoluteDiv
);
19 <body style=
"height:2000px;" onload=
"runPaintInvalidationTest()">
20 <!-- You should see 1 green rectangle in the output and no red. -->
21 <div style=
"top: 5000px;" class=
"fixed red"><div id=
"absoluteDiv" style=
"top:100px; left:100px;" class=
"absolute green"></div></div>