summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/367504-margin-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/367504-margin-1.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/bugs/367504-margin-1.html b/layout/reftests/bugs/367504-margin-1.html
new file mode 100644
index 0000000000..4f45a6fdcb
--- /dev/null
+++ b/layout/reftests/bugs/367504-margin-1.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>Testcase, bug 367504 -- inline block as margin root</title>
+<style type="text/css">
+
+span#ib { display: inline-block; vertical-align: text-bottom; margin: 4px; }
+
+span#ib span { display: block; margin: 3px; }
+
+</style>
+</head>
+<body>
+<table border><tr><td>
+
+<p>x<span id="ib"><span>test</span></span>x</p>
+
+</td></tr></table>
+</body>
+</html>