Index: Source/WebCore/rendering/RenderBlockLineLayout.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderBlockLineLayout.cpp (revision 109989) |
+++ Source/WebCore/rendering/RenderBlockLineLayout.cpp (working copy) |
@@ -1477,7 +1477,7 @@ |
if (o->isReplaced() || o->isFloating() || o->isPositioned()) { |
RenderBox* box = toRenderBox(o); |
- if (relayoutChildren || o->style()->width().isPercent() || o->style()->height().isPercent()) |
+ if (relayoutChildren || box->hasRelativeDimensions()) |
o->setChildNeedsLayout(true, false); |
// If relayoutChildren is set and the child has percentage padding or an embedded content box, we also need to invalidate the childs pref widths. |