aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout/inline-margin-collapses-over-empty-boxes.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/layout/inline-margin-collapses-over-empty-boxes.html')
-rw-r--r--test/layout/inline-margin-collapses-over-empty-boxes.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/test/layout/inline-margin-collapses-over-empty-boxes.html b/test/layout/inline-margin-collapses-over-empty-boxes.html
new file mode 100644
index 00000000..859b3f87
--- /dev/null
+++ b/test/layout/inline-margin-collapses-over-empty-boxes.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<span>
+test1
+<div>
+test2
+</div>
+test3
+</span>
+
+<br>
+
+<span>
+test4
+<div style="margin-bottom: 1em">
+test5
+</div>
+<div style="margin-top: 1em">
+test6
+</div>
+</span>
+
+<span>
+test7
+<div style="margin-bottom: 1em">
+test8
+</div>
+<div style="margin-top: 1em">
+</div>
+test9
+</span>
+
+<br>
+<span>
+testa
+<div style="margin-bottom: 1em">
+testb
+</div>
+<div style="margin-top: 1em; margin-bottom: 2em">
+</div>
+</span>
+<div style="margin-top: 2em">
+testd
+</div>