Index: LayoutTests/fast/multicol/span/margin-on-multicol.html |
diff --git a/LayoutTests/fast/multicol/span/margin-on-multicol.html b/LayoutTests/fast/multicol/span/margin-on-multicol.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c0bed46eaae7beca028830935bd79e3c9c437e5d |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/span/margin-on-multicol.html |
@@ -0,0 +1,12 @@ |
+<!DOCTYPE html> |
+<script src="../../../resources/check-layout.js"></script> |
+<script> |
+ onload = function() { checkLayout('#container'); } |
+</script> |
+<p>Test that margins on a multicol container don't collapse with spanners' margins.</p> |
+<p>There should be a blue <em>square</em> below.</p> |
+<div id="container" style="overflow:hidden; width:100px; background:blue;" data-expected-height="100"> |
+ <div style="-webkit-columns:3; margin:20px 0;"> |
+ <div style="-webkit-column-span:all; margin:20px 0; height:20px;"></div> |
+ </div> |
+</div> |