summaryrefslogtreecommitdiffstats
path: root/layout/reftests/margin-collapsing/block-max-height-last-child-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/margin-collapsing/block-max-height-last-child-1-ref.html')
-rw-r--r--layout/reftests/margin-collapsing/block-max-height-last-child-1-ref.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/reftests/margin-collapsing/block-max-height-last-child-1-ref.html b/layout/reftests/margin-collapsing/block-max-height-last-child-1-ref.html
new file mode 100644
index 0000000000..b76d867c90
--- /dev/null
+++ b/layout/reftests/margin-collapsing/block-max-height-last-child-1-ref.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style type="text/css">
+#parent {
+ background-color: lightgreen;
+}
+#last-child {
+ height: 40px;
+ background-color: green;
+}
+#separator {
+ height: 20px;
+ background-color: blue;
+}
+#spacer {
+ height: 20px;
+}
+</style>
+</head>
+<body>
+<div id="parent">
+ <div id="last-child"></div>
+</div>
+<div id="spacer"></div>
+<div id="separator"></div>
+</body>
+</html>