Index: WebCore/rendering/RenderBox.cpp |
=================================================================== |
--- WebCore/rendering/RenderBox.cpp (revision 69499) |
+++ WebCore/rendering/RenderBox.cpp (working copy) |
@@ -111,8 +111,13 @@ |
outermostBlock = p; |
} |
- if (outermostBlock) |
+ if (outermostBlock) { |
+ RenderObject* parent = outermostBlock->parent(); |
+ if (parent && parent->isFlexibleBox()) |
+ outermostBlock = toRenderBlock(parent); |
+ |
outermostBlock->markAllDescendantsWithFloatsForLayout(this, false); |
+ } |
} |
if (isPositioned()) { |