summaryrefslogtreecommitdiff
path: root/old/css_compat/tests/margin_collapse.html
diff options
context:
space:
mode:
Diffstat (limited to 'old/css_compat/tests/margin_collapse.html')
-rw-r--r--old/css_compat/tests/margin_collapse.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/old/css_compat/tests/margin_collapse.html b/old/css_compat/tests/margin_collapse.html
new file mode 100644
index 0000000..e30ec4c
--- /dev/null
+++ b/old/css_compat/tests/margin_collapse.html
@@ -0,0 +1,18 @@
+<html>
+<head>
+<title>Collapsing margins</title>
+<style type=text/css>
+div { margin-top: 100px; }
+</style>
+</head>
+<body>
+<h1>Collapsing of parent top margin with first child top margin</h1>
+<div>
+ <div>
+ <div style="border: 1px solid black">
+There should be a 100px vertical space above.
+ </div>
+ </div>
+</div>
+</body>
+</html>