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

Unified Diff: Source/core/rendering/LayoutState.cpp

Issue 209863003: [New Multicolumn] balancer confused by content with top margins. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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: Source/core/rendering/LayoutState.cpp
diff --git a/Source/core/rendering/LayoutState.cpp b/Source/core/rendering/LayoutState.cpp
index e9cb94b10e2472b672b4caf5e24b973d10338639..7d2894c449f94b7ea5ec282e796ad63be46a4ad5 100644
--- a/Source/core/rendering/LayoutState.cpp
+++ b/Source/core/rendering/LayoutState.cpp
@@ -119,7 +119,7 @@ LayoutState::LayoutState(LayoutState* prev, RenderBox& renderer, const LayoutSiz
#endif
}
- m_isPaginated = m_pageLogicalHeight || m_columnInfo || renderer.isRenderFlowThread();
+ m_isPaginated = m_pageLogicalHeight || m_columnInfo || renderer.flowThreadContainingBlock();
abucur 2014/03/25 10:02:36 I think there's a chance you are breaking unsplitt
mstensho (USE GERRIT) 2014/03/26 09:56:25 Done.
// FIXME: <http://bugs.webkit.org/show_bug.cgi?id=13443> Apply control clip if present.
}
« no previous file with comments | « LayoutTests/fast/multicol/newmulticol/leading-margin-expected.html ('k') | Source/core/rendering/RenderBlockFlow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698