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

Unified Diff: LayoutTests/fast/multicol/line-pushed-down-by-float-expected.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: 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
Index: LayoutTests/fast/multicol/line-pushed-down-by-float-expected.html
diff --git a/LayoutTests/fast/multicol/line-pushed-down-by-float-expected.html b/LayoutTests/fast/multicol/line-pushed-down-by-float-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..c04906ed81bbb3f6c697bf1b5372f08bfd8d3621
--- /dev/null
+++ b/LayoutTests/fast/multicol/line-pushed-down-by-float-expected.html
@@ -0,0 +1,13 @@
+<!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="width:51em; height:10em; line-height:2em; background:yellow;">
+ <div style="float:left; width:25em;">
+ First column.<br>
+ <div style="float:left; width:100%; height:7em; background:cyan;">
+ This cyan block should all be in the first column.
+ </div>
+ </div>
+ <div style="float:left; margin-left:1em; width:25em;">
+ Second column.
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698