OLD | NEW |
| (Empty) |
1 <!-- Based on fast/repaint/absolute-position-moved.html --> | |
2 <html> | |
3 <head> | |
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 function paintInvalidationTest() | |
8 { | |
9 var absoluteDiv = document.getElementById('absoluteDiv'); | |
10 absoluteDiv.parentNode.removeChild(absoluteDiv); | |
11 document.body.appendChild(absoluteDiv); | |
12 } | |
13 </script> | |
14 </head> | |
15 <body style="height:2000px;" onload="runPaintInvalidationTest()"> | |
16 <!-- You should see 1 green rectangle in the output and no red. --> | |
17 <div style="top: 5000px;" class="fixed red"><div id="absoluteDiv" style="top
:100px; left:100px;" class="absolute green"></div></div> | |
18 </body> | |
19 </html> | |
OLD | NEW |