Index: Source/WebCore/rendering/RenderBlock.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderBlock.cpp (revision 89892) |
+++ Source/WebCore/rendering/RenderBlock.cpp (working copy) |
@@ -219,6 +219,9 @@ |
if (cb->isRenderBlock()) |
toRenderBlock(cb)->removePositionedObjects(this); |
} |
+ |
+ if (containsFloats() && !isFloating() && !isPositioned() && (newStyle->position() == AbsolutePosition || newStyle->position() == FixedPosition)) |
+ markAllDescendantsWithFloatsForLayout(); |
} |
RenderBox::styleWillChange(diff, newStyle); |