Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / overflow / non-reparented-overlay-scrollbars.html
blob75ba8b88d192a659373488483d8ad5fdf1e193d6
1 <!DOCTYPE HTML>
2 <style>
3 #scroller {
4 overflow: scroll;
5 width: 300px;
6 height: 300px;
7 position: relative;
8 z-index: 0;
9 top: 10px;
12 #fixed {
13 position: fixed;
14 background: blue;
15 left: 90px;
16 width: 10px;
17 height: 10px;
20 #scrolled {
21 position: relative;
22 background: green;
23 width: 80px;
24 height: 500px;
26 </style>
27 <script>
28 if (window.internals) {
29 window.internals.settings.setOverlayScrollbarsEnabled(true);
30 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
32 </script>
33 <div id='scroller'>
34 <div id='fixed'></div>
35 <div id='scrolled'></div>
36 </div>