| Index: Source/core/rendering/RenderFlowThread.cpp
|
| diff --git a/Source/core/rendering/RenderFlowThread.cpp b/Source/core/rendering/RenderFlowThread.cpp
|
| index bff81ff3922460e12c36167cad11d093fa043b4c..728973f8d7ad1fbc0ad586daa924eec2cd2e2710 100644
|
| --- a/Source/core/rendering/RenderFlowThread.cpp
|
| +++ b/Source/core/rendering/RenderFlowThread.cpp
|
| @@ -972,7 +972,7 @@ bool RenderFlowThread::addForcedRegionBreak(LayoutUnit offsetBreakInFlowThread,
|
| overrideLogicalContentHeightComputed = true;
|
|
|
| // Compute the region height pretending that the offsetBreakInCurrentRegion is the logicalHeight for the auto-height region.
|
| - LayoutUnit regionOverrideLogicalContentHeight = region->computeReplacedLogicalHeightRespectingMinMaxHeight(offsetBreakInCurrentRegion);
|
| + LayoutUnit regionOverrideLogicalContentHeight = region->constrainContentBoxLogicalHeightByMinMax(offsetBreakInCurrentRegion, -1);
|
|
|
| // The new height of this region needs to be smaller than the initial value, the max height. A forced break is the only way to change the initial
|
| // height of an auto-height region besides content ending.
|
|
|