Test: fast/table/add-before-anonymous-child.html
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 29 Jan 2006 01:29:33 +0000 (01:29 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 29 Jan 2006 01:29:33 +0000 (01:29 +0000)
commit6ef4eb2a32317e98021faedb25d747a689a4d27f
tree6d4509931c84922b92d4b96d30cf7c76d46355d0
parentc6c8e5a66a7a7aea38c4da81360886098d071779
    Test: fast/table/add-before-anonymous-child.html

        Reviewed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5868
          Crash on HP.com with ToT and Safari 2.0.2 in khtml::RenderContainer::detach()

        * rendering/RenderTableRow.cpp:
        (WebCore::RenderTableRow::addChild): If beforeChild is inside an anonymous
        cell, insert into the cell.
        * rendering/RenderTableSection.cpp:
        (WebCore::RenderTableSection::addChild): Changed comment.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12431 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/rendering/RenderTableRow.cpp
WebCore/rendering/RenderTableSection.cpp