Index: Source/core/layout/LayoutBlockFlow.cpp |
diff --git a/Source/core/layout/LayoutBlockFlow.cpp b/Source/core/layout/LayoutBlockFlow.cpp |
index 7197ab8f70abb3834613aa3b76c7815541240e83..d20c1772bacff6c80c9748a1865db58e871f3e09 100644 |
--- a/Source/core/layout/LayoutBlockFlow.cpp |
+++ b/Source/core/layout/LayoutBlockFlow.cpp |
@@ -369,6 +369,9 @@ inline bool LayoutBlockFlow::layoutBlockFlow(bool relayoutChildren, LayoutUnit & |
TextAutosizer::LayoutScope textAutosizerLayoutScope(this); |
+ // Reset the flag here instead of in layoutInlineChildren() in case that |
+ // all inline children are removed from this block. |
+ setContainsInlineWithOutlineAndContinuation(false); |
if (childrenInline()) |
layoutInlineChildren(relayoutChildren, m_paintInvalidationLogicalTop, m_paintInvalidationLogicalBottom, afterEdge); |
else |