summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/overflow/scroll-nested-positioned-layer-in-overflow.html
blob: f54abe758489314da179af6d7005329feeeb0e44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<html>
<head>
    <style>
        #scroller {
            position: absolute;
            top: 42px;
            bottom: 0px;
            left: 0px;
            right: 0px;
            overflow: overlay;
        }

        #contentarea {
            position: absolute;
        }
    </style>
</head>
<body onload="document.getElementById('bt').focus()">
    <div id="scroller">
        <div id="contentarea">
            This tests that we can scroll to reveal something in a nested positioned block in overflow. 
            <div style="height: 800px"></div>
            <input type="button" id="bt" value="If you can see this, test has passed"></input>
        </div>   
    </div>
</body>
</html>