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

Unified Diff: LayoutTests/fast/multicol/line-pushed-down-by-float.html

Issue 1277613004: A line that doesn't fit in a column shouldn't pull preceding floats to the next column. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Code review. Add helper function. Created 5 years, 4 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/line-pushed-down-by-float-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/multicol/line-pushed-down-by-float.html
diff --git a/LayoutTests/fast/multicol/line-pushed-down-by-float.html b/LayoutTests/fast/multicol/line-pushed-down-by-float.html
new file mode 100644
index 0000000000000000000000000000000000000000..dde8dd5cc46bae48110f7756c4833da8f9e5c14f
--- /dev/null
+++ b/LayoutTests/fast/multicol/line-pushed-down-by-float.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<p>Test that a line pushed down by a float doesn't pull the float to the next column if it has to break.</p>
+<div style="-webkit-columns:2; -webkit-column-gap:1em; column-fill:auto; width:51em; height:10em; line-height:2em; background:yellow;">
+ First column.<br>
+ <div>
+ <div style="float:left; width:100%; height:7em; background:cyan;">
+ This cyan block should all be in the first column.
+ </div>
+ Second column.
+ </div>
+</div>
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/line-pushed-down-by-float-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698