tizen beta release
[profile/ivi/webkit-efl.git] / LayoutTests / compositing / geometry / fixed-position-iframe-composited-page-scale.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .fixed-no-z-index {
6   position: absolute;
7   left: 10px;
8 }
9 .fixed-with-z-index {
10   position: fixed;
11   z-index: 1;
12   left: 10px;
13 }
14 ::-webkit-scrollbar {
15   width: 0px;
16   height: 0px;
17 }
18 </style>
19 <script>
20   function test() {
21     if (window.internals)
22       window.internals.setEnableCompositingForFixedPosition(document, true);
23     if (window.layoutTestController) {
24       layoutTestController.dumpAsText(true);
25       eventSender.scalePageBy(2, 0, 0);
26     }
27
28     var d = document.getElementById('frame').contentDocument.open();
29     d.write("<div style='position:fixed; z-index: 1; left; 10px;'>TEST</div>");
30     d.close();
31   }
32 </script>
33 </head>
34 <body onload="test();" style="width:2000px;height:2000px;">
35 <div class="fixed-no-z-index">TEST</div><br>
36 <iframe id="frame"></iframe>
37 </body>
38 </html>