Index: Source/core/rendering/RenderBlock.h |
diff --git a/Source/core/rendering/RenderBlock.h b/Source/core/rendering/RenderBlock.h |
index d4e3bdbddda8b05ba4f7fa8e706b1bc90579fa6b..678e41df3f5aa6ca2309115f36d90524061a51b8 100644 |
--- a/Source/core/rendering/RenderBlock.h |
+++ b/Source/core/rendering/RenderBlock.h |
@@ -319,6 +319,7 @@ protected: |
void setDesiredColumnCountAndWidth(int, LayoutUnit); |
+ bool avoidsOrIgnoresFloats() { return isFloatingOrOutOfFlowPositioned() || avoidsFloats(); } |
public: |
virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool = false); |
protected: |
@@ -370,7 +371,6 @@ private: |
Node* nodeForHitTest() const; |
private: |
- virtual bool avoidsFloats() const override { return true; } |
bool hitTestColumns(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction); |
bool hitTestContents(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction); |
@@ -445,8 +445,6 @@ protected: |
enum PageBoundaryRule { ExcludePageBoundary, IncludePageBoundary }; |
LayoutUnit nextPageLogicalTop(LayoutUnit logicalOffset, PageBoundaryRule = ExcludePageBoundary) const; |
- bool createsBlockFormattingContext() const; |
- |
public: |
LayoutUnit pageLogicalHeightForOffset(LayoutUnit offset) const; |
LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit offset, PageBoundaryRule = IncludePageBoundary) const; |