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

Unified Diff: LayoutTests/fast/multicol/dynamic/remove-spanner-after-content.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-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>

Powered by Google App Engine
This is Rietveld 408576698