WebCore:
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Mar 2009 21:25:22 +0000 (21:25 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Mar 2009 21:25:22 +0000 (21:25 +0000)
commitc593cfc5a398f7fad137669dfbd70b624400cab1
treeb3b4eca8b8b12b4f1305c23ab1fe0a3f7ea8691b
parent97b4dc7f35fb84e8fc39343deacdc7cd4c1da448
WebCore:

        Reviewed by Dave Hyatt.

        - fix <rdar://problem/6472150> repro crash in
          RenderBlock::rightmostPosition(bool, bool) const at mercotte.fr using
          menus

        Test: fast/inline/continuation-positioned-reparenting.html

        * rendering/RenderInline.cpp:
        (WebCore::RenderInline::splitFlow): When repurposing the existing
        container as the "pre" block, clear its positioned objects list, because
        positioned descendants may end up in a different block after the split.

LayoutTests:

        Reviewed by Dave Hyatt.

        - test for <rdar://problem/6472150> repro crash in
          RenderBlock::rightmostPosition(bool, bool) const at mercotte.fr using
          menus

        * fast/inline/continuation-positioned-reparenting-expected.txt: Added.
        * fast/inline/continuation-positioned-reparenting.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/inline/continuation-positioned-reparenting-expected.txt [new file with mode: 0644]
LayoutTests/fast/inline/continuation-positioned-reparenting.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderInline.cpp