Index: Source/WebCore/rendering/RenderObject.h |
=================================================================== |
--- Source/WebCore/rendering/RenderObject.h (revision 86000) |
+++ Source/WebCore/rendering/RenderObject.h (working copy) |
@@ -1007,7 +1007,9 @@ |
if (!container && !o->isRenderView()) |
return; |
if (!last->isText() && (last->style()->position() == FixedPosition || last->style()->position() == AbsolutePosition)) { |
- if (o->m_posChildNeedsLayout) |
+ while (o && !o->isRenderBlock()) // Skip relatively positioned inlines and get to the enclosing RenderBlock. |
+ o = o->container(); |
+ if (!o || o->m_posChildNeedsLayout) |
return; |
o->m_posChildNeedsLayout = true; |
simplifiedNormalFlowLayout = true; |