Index: LayoutTests/fast/multicol/dynamic/remove-spanner-after-content.html |
diff --git a/LayoutTests/fast/multicol/dynamic/remove-spanner-after-content.html b/LayoutTests/fast/multicol/dynamic/remove-spanner-after-content.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a102cc3d9cc146beec7e0b7386c78d57229738db |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/dynamic/remove-spanner-after-content.html |
@@ -0,0 +1,17 @@ |
+<!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 that follows column content.</p> |
+<p>There should be a black square below, and nothing else.</p> |
+<div style="width:32em;"> |
+ <div style="-webkit-columns:3; -webkit-column-gap:1em; line-height:5em;"> |
+ <div style="color:black; background:black;">x</div> |
+ <div id="elm" style="-webkit-column-span:all; background:red;">FAIL</div> |
+ </div> |
+ <div style="width:10em; height:5em; color:black; background:black;"></div> |
+</div> |