Turn on threaded scrolling by default in the tests
[WebKit-https.git] / LayoutTests / compositing / overflow / iframe-inside-overflow-clipping.html
1 <!-- webkit-test-runner [ useThreadedScrolling=false ] -->
2 <!DOCTYPE html>
3 <html>
4 <head>
5   <meta name="viewport" content="initial-scale=1">
6   <style>
7     .scrollable {
8       overflow: auto;
9       -webkit-overflow-scrolling: touch;
10       width: 320px;
11       height: 300px;
12       border: 2px solid blue;
13     }
14     iframe {
15       position: absolute;
16       top: 0;
17       left: 0;
18       height: 200px;
19       width: 200px;
20       border: 2px solid black;
21       background-color: blue;
22     }
23     .box {
24       position: relative;
25       height: 500px;
26       width: 100%;
27       background-color: rgba(0, 0, 0, 0.2);
28       padding: 10px;
29     }
30   </style>
31   <script>
32     if (window.testRunner)
33       testRunner.dumpAsText();
34     if (window.internals)
35       window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true);
36   </script>
37 </head>
38
39 <body>
40   <p>This test should not assert.</p>
41   <div class="scrollable">
42     <iframe></iframe>
43     <div class="box"></div>
44   </div>
45 </body>
46
47 </html>