Move /platform/ios-simulator/accessibility tests to accessibility/ios-simulator/
[WebKit-https.git] / LayoutTests / tiled-drawing / scrolling / fixed-background / fixed-body-background-zoomed.html
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5     <style>
6         body {
7             margin: 100px;
8             height: 1500px;
9             background-image: url('../../compositing/resources/simple_image.png');
10             background-size: 200px 200px;
11             background-attachment: fixed;
12         }
13         
14         .test {
15             height: 400px;
16             width: 600px;
17             background-color: rgba(0, 0, 0, 0.5);
18             border: 20px solid orange;
19         }
20         
21         #layers {
22             opacity: 0;
23         }
24     </style>
25     <script>
26     if (window.testRunner)
27         testRunner.dumpAsText(true);
28     
29     function doTest()
30     {
31         if (window.eventSender)
32             eventSender.scalePageBy(2.3, 0, 0);
33
34         window.scrollTo(0, 200);
35
36         if (window.internals)
37             document.getElementById('layers').innerText = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_TILE_CACHES);
38     }
39     
40     window.addEventListener('load', doTest, false);
41     </script>
42 </head>
43 <body>
44
45     <div class="test"></div>
46 <pre id="layers"></pre>
47 </body>
48 </html>