Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: LayoutTests/fast/multicol/dynamic/remove-and-insert-block-between-spanners.html

Issue 869583002: [New Multicolumn] Support dynamic insertion and removal of multicol content. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: code review Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/multicol/dynamic/remove-and-insert-block-between-spanners.html
diff --git a/LayoutTests/fast/multicol/dynamic/remove-and-insert-block-between-spanners.html b/LayoutTests/fast/multicol/dynamic/remove-and-insert-block-between-spanners.html
new file mode 100644
index 0000000000000000000000000000000000000000..5199c66ae2c4de5bda7f70514f3a3c41fa6b5760
--- /dev/null
+++ b/LayoutTests/fast/multicol/dynamic/remove-and-insert-block-between-spanners.html
@@ -0,0 +1,17 @@
+<!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 between two spanners, then insertion of another block at the same position.</p>
+<p>You should see three 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; overflow:hidden; width:4em; 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 class="spanner">PASS</div></div>

Powered by Google App Engine
This is Rietveld 408576698