Index: Source/WebCore/rendering/RenderBlock.h |
=================================================================== |
--- Source/WebCore/rendering/RenderBlock.h (revision 86161) |
+++ Source/WebCore/rendering/RenderBlock.h (working copy) |
@@ -541,7 +541,7 @@ |
virtual bool avoidsFloats() const; |
- bool hasOverhangingFloats() { return parent() && !hasColumns() && lowestFloatLogicalBottom() > logicalHeight(); } |
+ bool hasOverhangingFloats() { return parent() && !hasColumns() && containsFloats() && lowestFloatLogicalBottom() > logicalHeight(); } |
void addIntrudingFloats(RenderBlock* prev, int xoffset, int yoffset); |
int addOverhangingFloats(RenderBlock* child, int xoffset, int yoffset, bool makeChildPaintOtherFloats); |