diff options
Diffstat (limited to 'layout/reftests/bugs/372037-1.html')
-rw-r--r-- | layout/reftests/bugs/372037-1.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/layout/reftests/bugs/372037-1.html b/layout/reftests/bugs/372037-1.html new file mode 100644 index 000000000..f5a1de623 --- /dev/null +++ b/layout/reftests/bugs/372037-1.html @@ -0,0 +1,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>
|