| Index: Source/core/rendering/RenderBlock.cpp
|
| diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
|
| index c51b657094ecc118f36ed47c582417270e39aafe..66e6126d4009e68919bbc0b2771651602a68ec54 100644
|
| --- a/Source/core/rendering/RenderBlock.cpp
|
| +++ b/Source/core/rendering/RenderBlock.cpp
|
| @@ -1457,6 +1457,12 @@
|
| addVisualOverflow(inflatedRect);
|
| }
|
|
|
| +bool RenderBlock::createsBlockFormattingContext() const
|
| +{
|
| + return isInlineBlockOrInlineTable() || isFloatingOrOutOfFlowPositioned() || hasOverflowClip() || isFlexItemIncludingDeprecated()
|
| + || style()->specifiesColumns() || isRenderFlowThread() || isTableCell() || isTableCaption() || isFieldset() || isWritingModeRoot() || isDocumentElement() || style()->columnSpan();
|
| +}
|
| +
|
| void RenderBlock::updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, RenderBox* child)
|
| {
|
| // FIXME: Technically percentage height objects only need a relayout if their percentage isn't going to be turned into
|
| @@ -2697,6 +2703,12 @@
|
| afterLowest->markDirty();
|
| afterLowest = afterLowest->prevRootBox();
|
| }
|
| +}
|
| +
|
| +bool RenderBlock::avoidsFloats() const
|
| +{
|
| + // Floats can't intrude into our box if we have a non-auto column count or width.
|
| + return RenderBox::avoidsFloats() || !style()->hasAutoColumnCount() || !style()->hasAutoColumnWidth();
|
| }
|
|
|
| bool RenderBlock::isPointInOverflowControl(HitTestResult& result, const LayoutPoint& locationInContainer, const LayoutPoint& accumulatedOffset)
|
|
|