Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / repaint / absolute-position-change-containing-block.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             document.getElementById('container').style.position = 'static';
11         }
12     </script>
13 </head>
14 <body style="height:2000px;" onload="runRepaintTest()">
15     <!-- You should see 2 overlapping rectangles in the output: a green one (on top) and a blue one. -->
16     <div id="container" style="top: 5000px;" class="fixed blue"><div style="top:100px; left:100px;" class="absolute green"></div></div>
17 </body>
18 </html>