Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / repaint / fixed-scroll-simple.html
1 <html>
2 <head>
3     <link rel="stylesheet" href="resources/default.css">
4     <script src="resources/repaint.js"></script>
5     <script>
6         if (window.testRunner)
7             testRunner.dumpAsTextWithPixelResults();
8
9         function repaintTest()
10         {
11             window.scrollTo(0, 100);
12         }
13     </script>
14 </head>
15 <body style="height:2000px;" onload="runRepaintTest()">
16     <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: RenderLayer fixed position logic needs more basic testing -->
17     <!-- You should see no red on this page. -->
18     <div style="position: absolute; top: 200px;" class="red"></div>
19     <div style="position: fixed; top: 100px;" class="green"></div>
20 </body>
21 </html>