Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / repaint / absolute-position-moved.html
1 <html>
2 <head>
3     <link rel="stylesheet" href="resources/default.css">
4     <script src="resources/repaint.js" type="text/javascript"></script>
5     <script type="text/javascript">
6         if (window.testRunner)
7             testRunner.dumpAsTextWithPixelResults();
8         function repaintTest()
9         {
10             var absoluteDiv = document.getElementById('absoluteDiv');
11             absoluteDiv.parentNode.removeChild(absoluteDiv);
12             document.body.appendChild(absoluteDiv);
13         }
14     </script>
15 </head>
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>
19 </body>
20 </html>