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

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/first-line-in-float-below-next-column-top.html

Issue 1462913002: A line that ends up naturally in the next column may need to propagate a strut. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Prepositionize responsibly. Created 5 years, 1 month 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: third_party/WebKit/LayoutTests/fast/multicol/first-line-in-float-below-next-column-top.html
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/first-line-in-float-below-next-column-top.html b/third_party/WebKit/LayoutTests/fast/multicol/first-line-in-float-below-next-column-top.html
new file mode 100644
index 0000000000000000000000000000000000000000..4bd1a6a402f9d50342692c7c8b9abb42838bac5f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/multicol/first-line-in-float-below-next-column-top.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<script src="../../resources/check-layout.js"></script>
+<p>When its first is on the other side of a column boundary, test that we push the entire float to the next column.</p>
+<p>There should be a blue square below. It should be right-bottom aligned inside a cyan box.</p>
+<div id="multicol" style="position:relative; -webkit-columns:2; -webkit-column-gap:0; column-fill:auto; width:90px; height:90px; line-height:40px; background:cyan;">
+ <div style="height:60px;"></div>
+ <div data-offset-x="45" data-offset-y="45" style="float:left; width:100%; margin-top:45px; padding-top:5px; background:blue;"><br></div>
+</div>
+<script>
+ checkLayout("#multicol");
+</script>

Powered by Google App Engine
This is Rietveld 408576698