aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/overconstrained_block_ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ref/overconstrained_block_ref.html')
-rw-r--r--tests/ref/overconstrained_block_ref.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ref/overconstrained_block_ref.html b/tests/ref/overconstrained_block_ref.html
new file mode 100644
index 00000000000..12016be7cfe
--- /dev/null
+++ b/tests/ref/overconstrained_block_ref.html
@@ -0,0 +1,15 @@
+<html>
+ <head>
+ <title>Block with over-contrained margins+borders+padding+width = containing block width</title>
+ <style>
+ body { width: 300px; margin: 0; }
+ p { background: green; width: 200px; height: 100px; margin: 0; position: absolute }
+ </style>
+ </head>
+ <body>
+ <p style="top: 20px; left: 70px"></p>
+ <p style="top: 140px; left: 30px"></p>
+ <p style="top: 260px; left: 120px"></p>
+ <p style="top: 380px; left: -20px"></p>
+ </body>
+</html>