a136c06c5ee9b5f6360ca8e9d0eb689c26e2e067
[WebKit-https.git] / LayoutTests / compositing / shared-backing / overflow-scroll / scrolled-contents-unconstrained-clip-expected.html
1 <!DOCTYPE html> <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] -->
2 <html>
3 <head>
4     <style>
5         .scroller {
6             overflow: scroll;
7             width: 300px;
8             height: 300px;
9             border: 2px solid black;
10         }
11         
12         .relative {
13             position: relative;
14             margin: 0px 20px 0 10px;
15             padding: 10px;
16             height: 100px;
17             border: 4px solid green;
18             background-color: silver;
19         }
20         
21         .spacer {
22             height: 400px;
23         }
24
25         .scrollbar-hider {
26             position: absolute;
27             width: 16px;
28             height: 300px;
29             top: 10px;
30             left: calc(310px - 16px);
31             background-color: gray;
32         }
33     </style>
34 </head>
35 <body>
36     <div id="scroller" class="scroller">
37             <div class="relative">
38                 Relative foreground
39             </div>
40             <div class="spacer"></div>
41         </div>
42     </div>
43     <div class="scrollbar-hider"></div>
44 </body>
45 </html>