Move /platform/ios-simulator/accessibility tests to accessibility/ios-simulator/
[WebKit-https.git] / LayoutTests / tiled-drawing / scrolling / slow-scrolling.html
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5     <style>
6         body {
7             height: 1200px;
8         }
9         .box {
10           width: 100px;
11           height: 100px;
12           margin: 50px;
13           background-color: blue;
14           border: 2px solid black;
15         }
16         
17         #box {
18             background-image: linear-gradient(to top, white, black);
19             background-attachment: fixed;
20             background-repeat: no-repeat;
21         }
22     </style>
23     <script>
24         if (window.testRunner)
25             testRunner.dumpAsText();
26
27         function doTest()
28         {
29             if (window.internals)
30                 document.getElementById('reasons').textContent = window.internals.mainThreadScrollingReasons();
31         }
32         window.addEventListener('load', doTest, false);
33     </script>
34 </head>
35 <body>
36     <div id="box" class="box"></div>
37
38     <p>Should be slow scrolling because of slow repaint objects.</p>
39 <pre id="reasons"></pre>
40 </body>
41 </html>