Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / repaint / scroll-fixed-reflected-layer.html
1 <html>
2 <head>
3     <link rel="stylesheet" href="resources/default.css"></style>
4     <script src="resources/repaint.js" type="text/javascript"></script>
5     <script type="text/javascript">
6         if (window.testRunner)
7             testRunner.dumpAsTextWithPixelResults();
8
9         function repaintTest()
10         {
11             document.getElementById("hideMe").style.zIndex = "-5";
12         }
13     </script>
14 </head>
15 <body style="height:2000px;" onload="runRepaintTest()">
16     <!-- You should see 1 green rectangle rotated in the output and no red. -->
17     <div style="height: 50px; top: 100px; left: 250px;" class="reflected fixed">
18         <div class="absolute green reflected" style="height: 50px;"></div>
19         <div id="hideMe" class="absolute red" style="top: 0px; left: 0px;"></div>
20     </div>
21     <!-- Make sure we are scrolled -->
22     <div style="top: 0px; left: 0px;" class="absolute red"></div>
23     <script>
24         window.scrollTo(100, 180);
25     </script>
26 </body>
27 </html>