| Index: Source/core/rendering/RenderBlock.cpp
|
| diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
|
| index a23bfbb8af6da719c0329019d101c1b0f6ab86d1..6aa35d82d165f39407b5eca4db15f4623909b8aa 100644
|
| --- a/Source/core/rendering/RenderBlock.cpp
|
| +++ b/Source/core/rendering/RenderBlock.cpp
|
| @@ -1632,7 +1632,8 @@ void RenderBlock::simplifiedNormalFlowLayout()
|
|
|
| bool RenderBlock::simplifiedLayout()
|
| {
|
| - if ((!posChildNeedsLayout() && !needsSimplifiedNormalFlowLayout()) || normalChildNeedsLayout() || selfNeedsLayout())
|
| + if ((!posChildNeedsLayout() && !needsSimplifiedNormalFlowLayout() && !needsResizeLayout())
|
| + || normalChildNeedsLayout() || selfNeedsLayout())
|
| return false;
|
|
|
|
|
| @@ -1643,6 +1644,9 @@ bool RenderBlock::simplifiedLayout()
|
| if (needsPositionedMovementLayout() && !tryLayoutDoingPositionedMovementOnly())
|
| return false;
|
|
|
| + if (needsResizeLayout() && !tryLayoutDoingResizeOnly())
|
| + return false;
|
| +
|
| FastTextAutosizer::LayoutScope fastTextAutosizerLayoutScope(this);
|
|
|
| // Lay out positioned descendants or objects that just need to recompute overflow.
|
|
|