Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / repaint / overflow-hide.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('overflowParent').style.overflow = "hidden";
11         }
12     </script>
13 </head>
14 <body style="height:2000px;" onload="runRepaintTest()">
15     <!-- You should see 2 green rectangle sharing one corner in the output. -->
16     <div id="overflowParent" class="absolute green"><div style="top:100px; left:100px;" class="relative red"></div></div>
17 </body>
18 </html>