Move platform/mac-wk2/tiled-drawing to tiled-drawing/
[WebKit-https.git] / LayoutTests / tiled-drawing / scrolling / scrolling-tree-slow-scrolling.html
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5     <style>
6         .box {
7             height: 100px;
8             width: 100px;
9             background-image: -webkit-repeating-linear-gradient(red 10%, green 10%, green 30%);
10             background-attachment: fixed; /* At this time, background-attachment:fixed forces slow mode. */
11         }
12     </style>
13     <script>
14         if (window.testRunner)
15             testRunner.dumpAsText();
16
17         function doTest()
18         {
19             if (window.internals) {
20                 document.getElementById('layers').innerText = internals.scrollingStateTreeAsText();
21             }
22         }
23         window.addEventListener('load', doTest, false);
24     </script>
25 </head>
26 <body>
27 <div class="box">
28 </div>
29 <pre id="layers">Scrolling tree goes here</p>
30 </body>
31 </html>