Unreviewed, rolling out r244228.
[WebKit-https.git] / LayoutTests / compositing / overflow / scrolling-content-clip-to-viewport.html
1 <!-- webkit-test-runner [ useThreadedScrolling=false internal:AsyncOverflowScrollingEnabled=true ] -->
2 <!DOCTYPE html>
3 <html>
4 <head>
5   <meta name="viewport" content="width=device-width">
6
7   <style>
8     body {
9       margin: 0;
10       -webkit-overflow-scrolling: touch;
11     }
12
13     .scroller {
14       width: 300px;
15       height: 320px;
16       overflow: scroll;
17       padding: 10px;
18     }
19
20     .column {
21       position: relative;
22       width: 280px;
23       height: 1200px;
24       background: silver;
25       border: 2px solid blue;
26       z-index: 0;
27     }
28   </style>
29   <script>
30     if (window.testRunner)
31       testRunner.dumpAsText();
32
33     window.addEventListener('load', function() {
34       if (window.testRunner)
35         document.getElementById('layers').innerHTML = window.internals.layerTreeAsText(document);
36     }, true);
37   </script>
38 </head>
39
40 <body>
41   <div class="scroller">
42     <div class="column">
43     </div>
44   </div>
45   <pre id="layers">Layer tree goes here in DRT</pre>
46 </body>
47 </html>