Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / overflow / reparented-overlay-scrollbars-should-respect-ancestor-clip-expected.html
1 <!DOCTYPE HTML>
2 <style>
3 #clipper {
4     overflow: hidden;
5     width: 400px;
6     height: 100px;
7     margin: 10px;
8 }
9
10 #scroller {
11     overflow: scroll;
12     width: 300px;
13     height: 300px;
14     position: relative;
15     top: 10px;
16 }
17
18 #fixed {
19     position: fixed;
20     background: blue;
21     left: 90px;
22     width: 10px;
23     height: 10px;
24 }
25
26 #scrolled {
27     position: relative;
28     background: green;
29     width: 80px;
30     height: 500px;
31 }
32 </style>
33 <script>
34 if (window.internals) {
35     window.internals.settings.setOverlayScrollbarsEnabled(true);
36     window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(false);
37 }
38 </script>
39 <div id='clipper'>
40     <div id='scroller'>
41         <div id='fixed'></div>
42         <div id='scrolled'></div>
43     </div>
44 </div>