summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/372037-1-ref.html
blob: 756f765cbdfa9ba9ecabacbc9972b478db538e12 (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
<!DOCTYPE html>

<style>
html, body {margin: 0; padding:5px}
</style>

<div style="position: relative; height: 100px; width: 100px;">
<div style="background: blue; position: absolute; top: 10px; width: 40px; height: 50px;">
</div>
</div>

<div style="position: relative; height: 100px; width: 100px;">
<div style="background: blue; position: fixed; left: 20px; width: 40px; height: 50px;">
</div>
</div>

<div style="overflow: auto; position: relative; height: 100px; width: 100px;">
<div style="background: blue; position: relative; width: 200px; height: 200px;">
</div>
</div>

<div style="overflow: auto; position: relative; height: 100px; width: 100px;">
<div style="background: blue; position: absolute; width: 200px; height: 200px;">
</div>
</div>