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

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

Issue 879483002: [New Multicolumn] Intrinsic/preferred logical width calculation for spanners. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: final code review Created 5 years, 11 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 | « Source/core/rendering/RenderMultiColumnSpannerPlaceholder.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderMultiColumnSpannerPlaceholder.cpp
diff --git a/Source/core/rendering/RenderMultiColumnSpannerPlaceholder.cpp b/Source/core/rendering/RenderMultiColumnSpannerPlaceholder.cpp
index ddf778817f44548ba829445e84840bf5ec7b3b44..b776c355abd4eacd45ee6cbbfffcfc63203439f9 100644
--- a/Source/core/rendering/RenderMultiColumnSpannerPlaceholder.cpp
+++ b/Source/core/rendering/RenderMultiColumnSpannerPlaceholder.cpp
@@ -53,6 +53,16 @@ bool RenderMultiColumnSpannerPlaceholder::needsPreferredWidthsRecalculation() co
return m_rendererInFlowThread->needsPreferredWidthsRecalculation();
}
+LayoutUnit RenderMultiColumnSpannerPlaceholder::minPreferredLogicalWidth() const
+{
+ return m_rendererInFlowThread->minPreferredLogicalWidth();
+}
+
+LayoutUnit RenderMultiColumnSpannerPlaceholder::maxPreferredLogicalWidth() const
+{
+ return m_rendererInFlowThread->maxPreferredLogicalWidth();
+}
+
void RenderMultiColumnSpannerPlaceholder::layout()
{
ASSERT(needsLayout());
« no previous file with comments | « Source/core/rendering/RenderMultiColumnSpannerPlaceholder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698