Index: Source/core/rendering/RenderBlock.h |
diff --git a/Source/core/rendering/RenderBlock.h b/Source/core/rendering/RenderBlock.h |
index 94e6b7f797282e21ea2585fd61fa3d6dcf886811..74af6b2a6384b5eb30b59e35c550c92b8ded3761 100644 |
--- a/Source/core/rendering/RenderBlock.h |
+++ b/Source/core/rendering/RenderBlock.h |
@@ -327,7 +327,6 @@ |
void setDesiredColumnCountAndWidth(int, LayoutUnit); |
- bool avoidsOrIgnoresFloats() { return isFloatingOrOutOfFlowPositioned() || avoidsFloats(); } |
public: |
virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool = false); |
protected: |
@@ -389,6 +388,8 @@ |
bool hasCaret() const { return hasCaret(CursorCaret) || hasCaret(DragCaret); } |
bool hasCaret(CaretType) const; |
+ |
+ virtual bool avoidsFloats() const OVERRIDE; |
bool hitTestColumns(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction); |
bool hitTestContents(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction); |
@@ -470,6 +471,8 @@ |
enum PageBoundaryRule { ExcludePageBoundary, IncludePageBoundary }; |
LayoutUnit nextPageLogicalTop(LayoutUnit logicalOffset, PageBoundaryRule = ExcludePageBoundary) const; |
+ bool createsBlockFormattingContext() const; |
+ |
public: |
LayoutUnit pageLogicalTopForOffset(LayoutUnit offset) const; |
LayoutUnit pageLogicalHeightForOffset(LayoutUnit offset) const; |