summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/372037-1.html
blob: f5a1de623c5da7f57e0c0d5a80d3717c3cd1bc1a (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="overflow: auto; position: relative; height: 100px; width: 100px;">
<div style="background: blue; position: absolute; clip: rect(10px, 40px, 60px, 0); width: 200px; height: 200px;">
</div>
</div>

<div style="overflow: auto; position: relative; height: 100px; width: 100px;">
<div style="background: blue; position: fixed; clip: rect(0 50px 50px 10px); width: 200px; height: 200px;">
</div>
</div>

<div style="overflow: auto; position: relative; height: 100px; width: 100px;">
<div style="background: blue; position: relative; clip: rect(0, 50px, 50px, 0); width: 200px; height: 200px;">
</div>
</div>

<div style="overflow: auto; position: relative; height: 100px; width: 100px;">
<div style="background: blue; position: absolute; clip: rect(0, auto, auto, 0); width: 200px; height: 200px;">
</div>
</div>