Index: LayoutTests/fast/multicol/dynamic/remove-and-insert-block-after-spanner.html |
diff --git a/LayoutTests/fast/multicol/dynamic/remove-and-insert-block-after-spanner.html b/LayoutTests/fast/multicol/dynamic/remove-and-insert-block-after-spanner.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5b7b396a525b6862539f5422a8bbabd908090af0 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/dynamic/remove-and-insert-block-after-spanner.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<script> |
+ onload = function() { |
+ document.body.offsetTop; // trigger layout |
+ var elm = document.getElementById('elm'); |
+ elm.style.display = 'none'; |
+ document.body.offsetTop; // trigger layout |
+ var elm2 = document.getElementById('elm2'); |
+ elm2.style.display = 'block'; |
+ } |
+</script> |
+<style> |
+ .spanner { -webkit-column-span:all; } |
+</style> |
+<p>Test removal of of a block right after a spanner, then insertion of another block at the same position.</p> |
+<p>You should see two lines with the word "PASS" on a lime background below. Letter spacing is expected to vary.</p> |
+<div style="-webkit-columns:4; -webkit-column-gap:0; width:4em; overflow:hidden; background:lime;"> |
+ <div class="spanner">PASS</div><div id="elm" style="background:red;">F<br>A<br>I<br>L</div><div id="elm2" style="display:none;">P<br>A<br>S<br>S</div></div> |