summaryrefslogtreecommitdiffstats
path: root/layout/reftests/margin-collapsing/block-xhtml-root-2.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/margin-collapsing/block-xhtml-root-2.xhtml')
-rw-r--r--layout/reftests/margin-collapsing/block-xhtml-root-2.xhtml23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/margin-collapsing/block-xhtml-root-2.xhtml b/layout/reftests/margin-collapsing/block-xhtml-root-2.xhtml
new file mode 100644
index 000000000..5d71978e2
--- /dev/null
+++ b/layout/reftests/margin-collapsing/block-xhtml-root-2.xhtml
@@ -0,0 +1,23 @@
+<root>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <style type="text/css">
+ root, html, body {
+ display: block;
+ margin: 0; padding: 0;
+ }
+ html {
+ background-color: lightgreen;
+ margin: 20px 0;
+ }
+ body {
+ background-color: green;
+ margin: 10px 0;
+ height: 100px;
+ }
+ </style>
+</head>
+<body>
+</body>
+</html>
+</root>