Index: LayoutTests/fast/multicol/dynamic/block-becomes-spanner.html |
diff --git a/LayoutTests/fast/multicol/dynamic/block-becomes-spanner.html b/LayoutTests/fast/multicol/dynamic/block-becomes-spanner.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fe564ebfd1b05c929504df758abd369cd8ba967d |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/dynamic/block-becomes-spanner.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<script> |
+ onload = function() { |
+ var elm = document.getElementById('elm'); |
+ document.body.offsetTop; // trigger layout |
+ elm.style.webkitColumnSpan = 'all'; |
+ } |
+</script> |
+<p>Test that a regular block can become a spanner.</p> |
+<p>Below there should be a blue box, then a yellow box, then a blue box again.</p> |
+<div style="-webkit-columns:2; -webkit-column-gap:0; line-height:2em; background:blue;"> |
+ <div id="elm" style="margin:4em 0; background:yellow;"><br><br></div> |
+</div> |