Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / scrollbars / scrollbars-on-positioned-content.html
blob720c15e527d63a27aa67de55ec35c3115ca59a68
1 <html>
2 <head>
3 <style type="text/css">
4 .tables
6 border: 1px solid red;
7 overflow-y: auto;
8 top: 50px;
9 bottom: 0px;
10 position: absolute;
13 .wrapper
15 border: 1px solid blue;
16 overflow-x: auto;
17 width: 300px;
20 .wrapper::-webkit-scrollbar
22 height: 9px;
25 .wrapper::-webkit-scrollbar-track
27 background-color: #E3E3E3;
30 .wrapper::-webkit-scrollbar-thumb
32 background: #CCCCCC;
33 border: 1px solid #ADADAD;
35 </style>
36 </head>
38 <body>
40 <p>This test passes if the custom scrollbar paints in the corrext spot, which is at the bottom of the purple div.</p>
42 <div class="tables">
43 <div class="wrapper">
45 <div style="background-color:purple; width:500px; height:400px;"></div>
47 </div>
49 <div style="background-color:green; width:15px; height:900px;"></div>
51 </div>
53 </body>
54 </html>