Move platform/mac-wk2/tiled-drawing to tiled-drawing/
[WebKit-https.git] / LayoutTests / tiled-drawing / scrolling / fixed-background / fixed-non-propagated-body-background.html
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5     <style>
6         html {
7             background-color: silver;
8         }
9         body {
10             margin: 100px;
11             height: 1500px;
12             background-image: url('../../compositing/resources/simple_image.png');
13             background-size: 200px 200px;
14             background-attachment: fixed;
15         }
16         
17         .test {
18             height: 400px;
19             width: 600px;
20             background-color: rgba(0, 0, 0, 0.5);
21             border: 20px solid orange;
22         }
23         
24         #layers {
25             opacity: 0;
26         }
27     </style>
28     <script>
29         if (window.testRunner)
30             testRunner.dumpAsText(true);
31         
32         function doTest()
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>