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