Index: LayoutTests/fast/multicol/dynamic/spanner-after-content-becomes-regular-block.html |
diff --git a/LayoutTests/fast/multicol/dynamic/spanner-after-content-becomes-regular-block.html b/LayoutTests/fast/multicol/dynamic/spanner-after-content-becomes-regular-block.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bcd35e602abe5669ab5f869ee2dff0a22ef1fb12 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/dynamic/spanner-after-content-becomes-regular-block.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<script> |
+ onload = function() { |
+ var elm = document.getElementById('elm'); |
+ elm.offsetTop; // trigger layout |
+ elm.style.webkitColumnSpan = 'none'; |
+ } |
+</script> |
+<p>Test changing a spanner that follows column content to a regular block.</p> |
+<p>You should see the word 'PASS' below, with large letter spacing:</p> |
+<div style="-webkit-columns:4; -webkit-column-gap:0; width:4em;"> |
+ P<br>A |
+ <div id="elm" style="-webkit-column-span:all; column-span:all;">S<br>S</div> |
+</div> |