| Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| index 2c7f1e610b4f8f2415cbb455396d0d10254d77c9..56bc29f18e4f2e8e92e4cc51f6209d826e30b62d 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| @@ -535,7 +535,7 @@ bool LayoutBlock::createsNewFormattingContext() const {
|
| isTableCaption() || isFieldset() || isWritingModeRoot() ||
|
| isDocumentElement() || isColumnSpanAll() || isGridItem() ||
|
| style()->containsPaint() || style()->containsLayout() ||
|
| - isSVGForeignObject();
|
| + isSVGForeignObject() || style()->display() == EDisplay::FlowRoot;
|
| }
|
|
|
| static inline bool changeInAvailableLogicalHeightAffectsChild(
|
|
|