Index: Source/core/rendering/RenderBlock.cpp |
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp |
index 87e0beedb05291c078147aa406c6a8ed9d16d69e..c0dc7a6c76becd0002dbfade559e60d12c3e10e5 100644 |
--- a/Source/core/rendering/RenderBlock.cpp |
+++ b/Source/core/rendering/RenderBlock.cpp |
@@ -789,7 +789,7 @@ void RenderBlock::addChildIgnoringAnonymousColumnBlocks(RenderObject* newChild, |
} |
// Check for a spanning element in columns. |
- if (gColumnFlowSplitEnabled) { |
+ if (gColumnFlowSplitEnabled && !document().regionBasedColumnsEnabled()) { |
RenderBlockFlow* columnsBlockAncestor = columnsBlockForSpanningElement(newChild); |
if (columnsBlockAncestor) { |
TemporaryChange<bool> columnFlowSplitEnabled(gColumnFlowSplitEnabled, false); |