Index: Source/core/rendering/RenderMultiColumnFlowThread.cpp |
diff --git a/Source/core/rendering/RenderMultiColumnFlowThread.cpp b/Source/core/rendering/RenderMultiColumnFlowThread.cpp |
index e93c68aedd5e3c88be5e37d863e34ea204b25732..e554ba4b8bd598321b863342c157f055da83b77e 100644 |
--- a/Source/core/rendering/RenderMultiColumnFlowThread.cpp |
+++ b/Source/core/rendering/RenderMultiColumnFlowThread.cpp |
@@ -269,6 +269,13 @@ LayoutUnit RenderMultiColumnFlowThread::initialLogicalWidth() const |
return columnWidth(); |
} |
+void RenderMultiColumnFlowThread::layout() |
+{ |
+ RenderFlowThread::layout(); |
+ if (RenderMultiColumnSet* lastSet = lastMultiColumnSet()) |
+ lastSet->expandToEncompassFlowThreadContentsIfNeeded(); |
+} |
+ |
void RenderMultiColumnFlowThread::setPageBreak(LayoutUnit offset, LayoutUnit spaceShortage) |
{ |
if (RenderMultiColumnSet* multicolSet = toRenderMultiColumnSet(regionAtBlockOffset(offset))) |