Chromium Code Reviews| Index: Source/core/rendering/RenderBlock.cpp |
| diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp |
| index 5f51066734ecbe40ef68acca735f517b9442cb21..9fbfde8267346c5a918c71293f7c3f6bcc7d7868 100644 |
| --- a/Source/core/rendering/RenderBlock.cpp |
| +++ b/Source/core/rendering/RenderBlock.cpp |
| @@ -1521,7 +1521,8 @@ void RenderBlock::addVisualOverflowFromTheme() |
| bool RenderBlock::createsBlockFormattingContext() const |
|
Julien - ping for review
2014/11/11 16:27:01
This function is deeply misnamed as most elements
jfernandez
2014/11/12 13:22:44
Done.
|
| { |
| return isInlineBlockOrInlineTable() || isFloatingOrOutOfFlowPositioned() || hasOverflowClip() || isFlexItemIncludingDeprecated() |
| - || style()->specifiesColumns() || isRenderFlowThread() || isTableCell() || isTableCaption() || isFieldset() || isWritingModeRoot() || isDocumentElement() || style()->columnSpan(); |
| + || style()->specifiesColumns() || isRenderFlowThread() || isTableCell() || isTableCaption() || isFieldset() || isWritingModeRoot() |
| + || isDocumentElement() || style()->columnSpan() || containingBlock()->isRenderGrid(); |
|
Manuel Rego
2014/11/11 13:54:22
It think that you could define something similar t
Julien - ping for review
2014/11/11 16:27:01
I don't have a preference about adding a helper fu
jfernandez
2014/11/12 13:22:44
Done.
jfernandez
2014/11/12 13:22:44
Done.
|
| } |
| void RenderBlock::updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, RenderBox* child) |