Index: Source/core/layout/LayoutBlockFlow.cpp |
diff --git a/Source/core/layout/LayoutBlockFlow.cpp b/Source/core/layout/LayoutBlockFlow.cpp |
index aadf77050085befb9e4b45132a7b5d0a17cb1119..fe9339df5d8e2767186d1a764933139a4662d2e6 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 |