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

Unified Diff: LayoutTests/fast/multicol/dynamic/remove-column-content-next-to-abspos-between-spanners.html

Issue 1163603002: Out-of-flow objects inside multicol may not establish column sets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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-column-content-next-to-abspos-between-spanners.html
diff --git a/LayoutTests/fast/multicol/dynamic/remove-column-content-next-to-abspos-between-spanners.html b/LayoutTests/fast/multicol/dynamic/remove-column-content-next-to-abspos-between-spanners.html
new file mode 100644
index 0000000000000000000000000000000000000000..0a546653f82edf10784daae7953477d75eb130cd
--- /dev/null
+++ b/LayoutTests/fast/multicol/dynamic/remove-column-content-next-to-abspos-between-spanners.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+
+<p>Remove the only column content that sits between two spanners (the absolutely positioned boxes
+ having their containing block outside the multicol container). Check that the adjoining margins
+ on the two spanners collapse.</p>
+<p>There should be a blue <em>square</em> below.</p>
+<div style="-webkit-column-count:2; width:100px; background:blue;">
+ <div style="-webkit-column-span:all; margin-bottom:100px;"></div>
+ <div style="position:absolute;"></div>
+ <div id="toRemove">FAIL</div>
+ <div style="position:absolute;"></div>
+ <div style="-webkit-column-span:all; margin-top:100px;"></div>
+</div>
+
+<script>
+onload = function() {
+ document.body.offsetTop;
+ document.getElementById("toRemove").style.display = "none";
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698