Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1511)

Unified Diff: Source/core/rendering/RenderBlock.cpp

Issue 584033002: [New Multicolumn] Add support for column-span:all (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698