Index: Source/core/rendering/RenderObject.cpp |
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
index 0186feb8cbcd223be39405970e32c2e8f87baa64..c194974125f738e0fb808376576cdb08e301e0d3 100644 |
--- a/Source/core/rendering/RenderObject.cpp |
+++ b/Source/core/rendering/RenderObject.cpp |
@@ -2253,11 +2253,13 @@ void RenderObject::propagateStyleToAnonymousChildren(bool blockChildrenOnly) |
continue; |
RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(style(), child->style()->display()); |
- if (style()->specifiesColumns()) { |
- if (child->style()->specifiesColumns()) |
- newStyle->inheritColumnPropertiesFrom(style()); |
- if (child->style()->columnSpan()) |
- newStyle->setColumnSpan(ColumnSpanAll); |
+ if (!document().regionBasedColumnsEnabled()) { |
+ if (style()->specifiesColumns()) { |
+ if (child->style()->specifiesColumns()) |
+ newStyle->inheritColumnPropertiesFrom(style()); |
+ if (child->style()->columnSpan()) |
+ newStyle->setColumnSpan(ColumnSpanAll); |
+ } |
} |
// Preserve the position style of anonymous block continuations as they can have relative position when |