[Webkit-unassigned] [Bug 78713] Absolute positioned elements with Inline Relative Positioned Container are not layout correctly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 20 03:44:04 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=78713
--- Comment #8 from Robin Cao <robin.cao at torchmobile.com.cn> 2012-02-20 03:44:04 PST ---
(In reply to comment #6)
> This is the wrong fix. RenderObject::container() should be patched not markContainingBlockForLayout().
>
> The right fix (TM) is to find a way to merge container() and containingBlock() so that such bugs don't happen down the road again.
>
> > Source/WebCore/ChangeLog:12
> > + This is a regression. r104183 changes containingBlock() so that it returns the container
> > + of an anonymous block for positioned objects, not the anonymous block itself. We should
> > + change markContainingBlocksForLayout() to match the change in containingBlock().
>
> Your analysis is good but the conclusion is wrong. container() and containingBlock() should return the same result and here they don't.
I admit my patch may be incomplete, but seems we can not simply make container() and containingBlock() return the same result here.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list