Index: Source/core/rendering/RenderMultiColumnSet.cpp |
diff --git a/Source/core/rendering/RenderMultiColumnSet.cpp b/Source/core/rendering/RenderMultiColumnSet.cpp |
index cfb9081a9850976c7a353f376a8252eca79b6ac5..db2962ef1feb8a1c28f6467840bf1deb4b99871f 100644 |
--- a/Source/core/rendering/RenderMultiColumnSet.cpp |
+++ b/Source/core/rendering/RenderMultiColumnSet.cpp |
@@ -303,6 +303,16 @@ void RenderMultiColumnSet::expandToEncompassFlowThreadContentsIfNeeded() |
setFlowThreadPortionRect(LayoutRect(rect.x(), rect.y(), isHorizontal ? rect.width() : logicalHeightWithOverflow, isHorizontal ? logicalHeightWithOverflow : rect.height())); |
} |
+void RenderMultiColumnSet::layout() |
+{ |
+ RenderRegion::layout(); |
+ |
+ if (!nextSiblingMultiColumnSet()) { |
+ // This is the last set, i.e. the last region. Seize the opportunity to validate them. |
+ multiColumnFlowThread()->validateRegions(); |
+ } |
+} |
+ |
void RenderMultiColumnSet::computeLogicalHeight(LayoutUnit, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const |
{ |
computedValues.m_extent = m_computedColumnHeight; |