Move /platform/ios-simulator/accessibility tests to accessibility/ios-simulator/
[WebKit-https.git] / LayoutTests / tiled-drawing / scrolling / fixed / fixed-position-out-of-view-negative-zindex.html
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5   <style>
6     .fixed {
7       position: fixed;
8       width: 10px;
9       height: 10px;
10       background-color: silver;
11     }
12   </style>
13
14   <script type="text/javascript">
15     if (window.testRunner) {
16       testRunner.dumpAsText();
17       testRunner.waitUntilDone();
18
19       window.addEventListener("load", function() {
20         window.setTimeout(function() {
21           document.getElementById("scrollingTree").innerText = window.internals.scrollingStateTreeAsText();
22           testRunner.notifyDone();
23         }, 10);
24       }, false);
25     }
26   </script>
27 </head>
28
29 <body>
30   <div style="height: 1000px">
31     <pre id="scrollingTree"></pre>
32   </div>
33
34   <div class="fixed" style="z-index: -1; top: -100px"></div>
35   <div class="fixed" style="z-index: -1; top: 0px; left: 1000px"></div>
36
37   <div class="fixed" style="top: 0px; left: 0px"></div>
38 </body>
39 </html>
40