summaryrefslogtreecommitdiffstats
path: root/layout/reftests/margin-collapsing/block-negative-2a.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/margin-collapsing/block-negative-2a.html')
-rw-r--r--layout/reftests/margin-collapsing/block-negative-2a.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/margin-collapsing/block-negative-2a.html b/layout/reftests/margin-collapsing/block-negative-2a.html
new file mode 100644
index 0000000000..995a0805ad
--- /dev/null
+++ b/layout/reftests/margin-collapsing/block-negative-2a.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style type="text/css">
+#a {
+ height: 20px;
+ background-color: green;
+}
+#b {
+ height: 20px;
+ background-color: blue;
+ margin-top: -20px;
+}
+</style>
+</head>
+<body>
+<div id="a"></div>
+<div id="b"></div>
+</body>
+</html>