3 <link rel=
"stylesheet" href=
"resources/default.css">
4 <script src=
"resources/text-based-repaint.js" type=
"text/javascript"></script>
5 <script type=
"text/javascript">
7 testRunner
.dumpAsTextWithPixelResults();
10 var absoluteDiv
= document
.getElementById('absoluteDiv');
11 absoluteDiv
.parentNode
.removeChild(absoluteDiv
);
12 document
.body
.appendChild(absoluteDiv
);
16 <body style=
"height:2000px;" onload=
"runRepaintTest()">
17 <!-- You should see 1 green rectangle in the output and no red. -->
18 <div style=
"top: 5000px;" class=
"fixed red"><div id=
"absoluteDiv" style=
"top:100px; left:100px;" class=
"absolute green"></div></div>