summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/372037-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/372037-1-ref.html')
-rw-r--r--layout/reftests/bugs/372037-1-ref.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/layout/reftests/bugs/372037-1-ref.html b/layout/reftests/bugs/372037-1-ref.html
new file mode 100644
index 0000000000..756f765cbd
--- /dev/null
+++ b/layout/reftests/bugs/372037-1-ref.html
@@ -0,0 +1,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>