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 3a4b357cc158a3f7e9f11cccc08596cf41dab721..52a3830a16982f9665d744375e5c3a2d7febe190 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
@@ -559,7 +559,8 @@ bool LayoutBlock::createsNewFormattingContext() const { |
hasOverflowClip() || isFlexItemIncludingDeprecated() || |
style()->specifiesColumns() || isLayoutFlowThread() || isTableCell() || |
isTableCaption() || isFieldset() || isWritingModeRoot() || |
- isDocumentElement() || isColumnSpanAll() || isGridItem() || |
+ isDocumentElement() || isGridItem() || |
+ style()->getColumnSpan() == ColumnSpanAll || |
style()->containsPaint() || style()->containsLayout() || |
isSVGForeignObject() || style()->display() == EDisplay::kFlowRoot; |
} |