summaryrefslogtreecommitdiffstats
path: root/layout/reftests/margin-collapsing/inline-block-child-3-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/margin-collapsing/inline-block-child-3-ref.html')
-rw-r--r--layout/reftests/margin-collapsing/inline-block-child-3-ref.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/margin-collapsing/inline-block-child-3-ref.html b/layout/reftests/margin-collapsing/inline-block-child-3-ref.html
new file mode 100644
index 0000000000..6ca83dd06e
--- /dev/null
+++ b/layout/reftests/margin-collapsing/inline-block-child-3-ref.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style type="text/css">
+body {
+ margin: 0;
+ padding: 10px 0;
+}
+#block {
+ background-color: green;
+ padding: 10px 0;
+}
+#inline-block {
+ display: inline-block;
+ background-color: lightgreen;
+}
+</style>
+</head>
+<body>
+<div id="block"><div id="inline-block">Hello Kitty</div></div>
+</body>
+</html>