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

Unified Diff: LayoutTests/fast/multicol/span/block-with-top-border-and-margin-around-spanner-exact-fit.html

Issue 1163583006: Don't eat margins when column height isn't yet known. (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
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/span/block-with-top-border-and-margin-around-spanner-exact-fit-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/multicol/span/block-with-top-border-and-margin-around-spanner-exact-fit.html
diff --git a/LayoutTests/fast/multicol/span/block-with-top-border-and-margin-around-spanner-exact-fit.html b/LayoutTests/fast/multicol/span/block-with-top-border-and-margin-around-spanner-exact-fit.html
new file mode 100644
index 0000000000000000000000000000000000000000..bf2c3ed260079327e785ecd9abd15e86f1cc8ea3
--- /dev/null
+++ b/LayoutTests/fast/multicol/span/block-with-top-border-and-margin-around-spanner-exact-fit.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<p>Check that the top margin on a block around a spanner inside an auto-filled multicol container
+ isn't lost.</p>
+<p>Below there should be a black square between two blue squares.</p>
+<div style="-webkit-columns:3; -webkit-column-gap:0; column-fill:auto; width:600px; height:200px; background:blue;">
+ <div style="margin-top:200px; border-top:100px solid black;">
+ <div style="-webkit-column-span:all; width:200px; height:100px; margin:auto; background:black;"></div>
+ <div></div>
+ </div>
+</div>
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/span/block-with-top-border-and-margin-around-spanner-exact-fit-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698