Turn on threaded scrolling by default in the tests
[WebKit-https.git] / LayoutTests / compositing / overflow / clipping-ancestor-with-accelerated-scrolling-ancestor.html
1 <!-- webkit-test-runner [ useThreadedScrolling=false ] -->
2 <!DOCTYPE html>
3 <html>
4 <head>
5   <meta name=viewport content="width=device-width">
6   <style>
7     .scrollable {
8       overflow: scroll;
9       -webkit-overflow-scrolling: touch;
10       width: 300px;
11       height: 300px;
12     }
13     .container {
14       overflow: hidden;
15     }
16     .indicator {
17       position: relative;
18       top: 100px;
19       background-color: red;
20     }
21     .box {
22       width: 100px;
23       height: 100px;
24     }
25   </style>
26   <script>
27     if (window.internals)
28       window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true);
29   </script>
30 </head>
31
32 <body>
33   <!-- Expect no red (a blank page) -->
34   <div class="scrollable">
35     <div class="container box">
36       <div class="indicator box"></div>
37     </div>
38   </div>
39 </body>
40
41 </html>