Index: Source/core/rendering/RenderBlock.cpp |
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp |
index a029d1b940fb66423676f2e7b4b5007cd26ed3da..ab69c91daddb00f0bfeec943d1a907dac857d243 100644 |
--- a/Source/core/rendering/RenderBlock.cpp |
+++ b/Source/core/rendering/RenderBlock.cpp |
@@ -1073,9 +1073,6 @@ void RenderBlock::removeLeftoverAnonymousBlock(RenderBlock* child) |
child->children()->setFirstChild(0); |
child->m_next = nullptr; |
- // Remove all the information in the flow thread associated with the leftover anonymous block. |
- child->removeFromRenderFlowThread(); |
Julien - ping for review
2014/09/30 00:39:32
Are we sure we don't insert children into the flow
mstensho (USE GERRIT)
2014/09/30 20:20:28
This is an anonymous block, and just became childl
|
- |
// RenderGrid keeps track of its children, we must notify it about changes in the tree. |
if (child->parent()->isRenderGrid()) |
toRenderGrid(child->parent())->dirtyGrid(); |
@@ -1525,7 +1522,7 @@ void RenderBlock::addVisualOverflowFromTheme() |
bool RenderBlock::createsBlockFormattingContext() const |
{ |
return isInlineBlockOrInlineTable() || isFloatingOrOutOfFlowPositioned() || hasOverflowClip() || isFlexItemIncludingDeprecated() |
- || style()->specifiesColumns() || isRenderFlowThread() || isTableCell() || isTableCaption() || isFieldset() || isWritingModeRoot() || isDocumentElement() || style()->columnSpan(); |
+ || style()->specifiesColumns() || isRenderFlowThread() || isTableCell() || isTableCaption() || isFieldset() || isWritingModeRoot() || isDocumentElement() || (document().regionBasedColumnsEnabled() ? isColumnSpanAll() : style()->columnSpan()); |
} |
void RenderBlock::updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, RenderBox* child) |