summaryrefslogtreecommitdiffstats
path: root/layout/reftests/margin-collapsing/block-html-body-1-ref2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/margin-collapsing/block-html-body-1-ref2.html')
-rw-r--r--layout/reftests/margin-collapsing/block-html-body-1-ref2.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/margin-collapsing/block-html-body-1-ref2.html b/layout/reftests/margin-collapsing/block-html-body-1-ref2.html
new file mode 100644
index 000000000..f527a4c25
--- /dev/null
+++ b/layout/reftests/margin-collapsing/block-html-body-1-ref2.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style type="text/css">
+html, body {
+ margin: 0; padding: 0;
+ background-color: green;
+}
+div {
+ margin: 30px 20px;
+ background-color: red;
+ height: 20px;
+}
+div div {
+ margin: 30px;
+ background-color: blue;
+}
+</style>
+</head>
+<body>
+<div><div></div></div>
+</body>
+</html>