| Index: Source/core/layout/MultiColumnFragmentainerGroup.cpp
|
| diff --git a/Source/core/layout/MultiColumnFragmentainerGroup.cpp b/Source/core/layout/MultiColumnFragmentainerGroup.cpp
|
| index 54cd8bb2c3f7d110cec522fd9b07de710cf512fc..42182d48114ab066d248a33e1a8fad9a89fe013f 100644
|
| --- a/Source/core/layout/MultiColumnFragmentainerGroup.cpp
|
| +++ b/Source/core/layout/MultiColumnFragmentainerGroup.cpp
|
| @@ -420,6 +420,13 @@ LayoutUnit MultiColumnFragmentainerGroup::calculateColumnHeight(BalancedColumnHe
|
| return m_columnHeight;
|
| }
|
|
|
| + if (m_columnHeight >= m_maxColumnHeight) {
|
| + // We cannot stretch any further. We'll just have to live with the overflowing columns. This
|
| + // typically happens if the max column height is less than the height of the tallest piece
|
| + // of unbreakable content (e.g. lines).
|
| + return m_columnHeight;
|
| + }
|
| +
|
| // If the initial guessed column height wasn't enough, stretch it now. Stretch by the lowest
|
| // amount of space shortage found during layout.
|
|
|
|
|