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