Index: LayoutTests/fast/multicol/dynamic/remove-spanner-in-content.html |
diff --git a/LayoutTests/fast/multicol/dynamic/remove-spanner-in-content.html b/LayoutTests/fast/multicol/dynamic/remove-spanner-in-content.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..90429e0a34bc9b52d44a28f78d8ea7d417520644 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/dynamic/remove-spanner-in-content.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<script> |
+ onload = function() { |
+ var elm = document.getElementById('elm'); |
+ elm.offsetTop; // trigger layout |
+ elm.style.display = 'none'; |
+ } |
+</script> |
+<p>Test removal of a spanner surrounded by inline content.</p> |
+<p>There should be three columns with a total line count of 8. The three first lines should |
+ read "before". The fourth should read "before after". The last four should read "after":</p> |
+<div style="-webkit-columns:3; -webkit-column-gap:0; width:30em;"> |
+ before<br>before<br>before<br>before |
+ <div id="elm" style="-webkit-column-span:all;"></div> |
+ after<br>after<br>after<br>after<br>after<br> |
+</div> |