Index: LayoutTests/fast/multicol/dynamic/spanner-before-content-becomes-regular-block.html |
diff --git a/LayoutTests/fast/multicol/dynamic/spanner-before-content-becomes-regular-block.html b/LayoutTests/fast/multicol/dynamic/spanner-before-content-becomes-regular-block.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2e7fe80c1b1f8106fe5b9e19fa70c37c1b1592d2 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/dynamic/spanner-before-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 precedes 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;"> |
+ <div id="elm" style="-webkit-column-span:all;">P</div> |
+ A<br>S<br>S |
+</div> |