Move /platform/ios-simulator/accessibility tests to accessibility/ios-simulator/
[WebKit-https.git] / LayoutTests / platform / mac-wk2 / tiled-drawing / scrolling / fixed-background / fixed-body-background-body-layer.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             position: absolute;
13             z-index: 0;
14         }
15         
16         .test {
17             height: 400px;
18             width: 600px;
19             background-color: rgba(0, 0, 0, 0.5);
20             border: 20px solid orange;
21         }
22         
23         #layers {
24             opacity: 0;
25         }
26     </style>
27     <script>
28     if (window.testRunner)
29         testRunner.dumpAsText(true);
30     
31     function doTest()
32     {
33         window.scrollTo(0, 200);
34
35         if (window.internals)
36             document.getElementById('layers').innerText = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_TILE_CACHES);
37     }
38     
39     window.addEventListener('load', doTest, false);
40     </script>
41 </head>
42 <body>
43
44     <div class="test"></div>
45 <pre id="layers"></pre>
46 </body>
47 </html>