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