| Index: sky/engine/core/rendering/RenderBlockFlow.cpp
|
| diff --git a/sky/engine/core/rendering/RenderBlockFlow.cpp b/sky/engine/core/rendering/RenderBlockFlow.cpp
|
| index 79566f854cd42dc70cf2eea9ce6c0fd293767d1f..54e4600a225e90aab98c46d9741d58889b4fc0e4 100644
|
| --- a/sky/engine/core/rendering/RenderBlockFlow.cpp
|
| +++ b/sky/engine/core/rendering/RenderBlockFlow.cpp
|
| @@ -103,10 +103,8 @@ inline void RenderBlockFlow::layoutBlockFlow(bool relayoutChildren, SubtreeLayou
|
|
|
| m_paintInvalidationLogicalTop = 0;
|
| m_paintInvalidationLogicalBottom = 0;
|
| - if (!firstChild() && !isAnonymousBlock())
|
| - setChildrenInline(true);
|
|
|
| - if (childrenInline())
|
| + if (isRenderParagraph())
|
| layoutInlineChildren(relayoutChildren, m_paintInvalidationLogicalTop, m_paintInvalidationLogicalBottom, afterEdge);
|
| else
|
| layoutBlockChildren(relayoutChildren, layoutScope, beforeEdge, afterEdge);
|
|
|