summaryrefslogtreecommitdiffstats
path: root/layout/reftests/position-sticky/iframe-1-ref.html
blob: d3254ac57633e39e2f5c726e978d1b0817cab797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
    <head>
        <title>Sticky-positioned item inside a scrollframe inside an iframe</title>
        <style>
            html, body {
                margin: 0;
                padding: 0;
            }
        </style>
    </head>
    <body>
        <div style="overflow: auto; margin-top: 100px; width: 150px; height: 200px">
            <div style="width: 100px; height: 100px; background-color: green"></div>
            <div style="height: 300px; width: 100px"></div>
        </div>
    </body>
</html>
    </body>
</html>