WebCore:
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Jun 2008 02:53:12 +0000 (02:53 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Jun 2008 02:53:12 +0000 (02:53 +0000)
commita80cadfe7c909ccc11493eee8fc55055d0fc7070
treee2a8d64dd197290910920d808e583167a4080bc0
parent669ae03d36e952848c12009c9c86d5c4f12f30b4
WebCore:

        Reviewed by John Sullivan.

        - fix a bug where anonymous tables were inserted in the wrong place

        Tests: tables/mozilla/bugs/bug2479-2.html
               tables/mozilla/bugs/bug278266.html
               tables/mozilla/bugs/bug8411.xml

        * rendering/RenderContainer.cpp:
        (WebCore::RenderContainer::addChild): Changed to create an anonymous
        table and insert it before beforeChild unless the insertion point is
        right after an existing anonymous table, in which case the existing
        table is used.

LayoutTests:

        Reviewed by John Sullivan.

        - updated tests and results after fixing a bug where anonymous tables were inserted in the wrong place

        * fast/forms/form-hides-table.html: Wrapped every case in a block in
        order to prevent cross-talk.
        * platform/mac/fast/forms/form-hides-table-expected.checksum:
        * platform/mac/fast/forms/form-hides-table-expected.png:
        * platform/mac/fast/forms/form-hides-table-expected.txt:
        * platform/mac/tables/mozilla/bugs/bug2479-2-expected.checksum: Added.
        * platform/mac/tables/mozilla/bugs/bug2479-2-expected.png: Added.
        * platform/mac/tables/mozilla/bugs/bug2479-2-expected.txt: Added.
        * platform/mac/tables/mozilla/bugs/bug2479-4-expected.txt:
        * platform/mac/tables/mozilla/bugs/bug278266-expected.checksum: Added.
        * platform/mac/tables/mozilla/bugs/bug278266-expected.png: Added.
        * platform/mac/tables/mozilla/bugs/bug278266-expected.txt: Added.
        * platform/mac/tables/mozilla/bugs/bug8411-expected.checksum: Added.
        * platform/mac/tables/mozilla/bugs/bug8411-expected.png: Added.
        * platform/mac/tables/mozilla/bugs/bug8411-expected.txt: Added.
        * platform/mac/tables/mozilla_expected_failures/bugs/bug2479-2-expected.checksum: Removed.
        * platform/mac/tables/mozilla_expected_failures/bugs/bug2479-2-expected.png: Removed.
        * platform/mac/tables/mozilla_expected_failures/bugs/bug2479-2-expected.txt: Removed.
        * platform/mac/tables/mozilla_expected_failures/bugs/bug278266-expected.checksum: Removed.
        * platform/mac/tables/mozilla_expected_failures/bugs/bug278266-expected.png: Removed.
        * platform/mac/tables/mozilla_expected_failures/bugs/bug278266-expected.txt: Removed.
        * platform/mac/tables/mozilla_expected_failures/bugs/bug8411-expected.checksum: Removed.
        * platform/mac/tables/mozilla_expected_failures/bugs/bug8411-expected.png: Removed.
        * platform/mac/tables/mozilla_expected_failures/bugs/bug8411-expected.txt: Removed.
        * platform/mac/tables/mozilla_expected_failures/other/test4-expected.txt:
        * tables/mozilla/bugs/bug2479-2.html: Copied from LayoutTests/tables/mozilla_expected_failures/bugs/bug2479-2.html.
        * tables/mozilla/bugs/bug278266.html: Copied from LayoutTests/tables/mozilla_expected_failures/bugs/bug278266.html.
        * tables/mozilla/bugs/bug8411.xml: Copied from LayoutTests/tables/mozilla_expected_failures/bugs/bug8411.xml.
        * tables/mozilla_expected_failures/bugs/bug2479-2.html: Removed.
        * tables/mozilla_expected_failures/bugs/bug278266.html: Removed.
        * tables/mozilla_expected_failures/bugs/bug8411.xml: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@34683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
28 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/forms/form-hides-table.html
LayoutTests/platform/mac/fast/forms/form-hides-table-expected.checksum
LayoutTests/platform/mac/fast/forms/form-hides-table-expected.png
LayoutTests/platform/mac/fast/forms/form-hides-table-expected.txt
LayoutTests/platform/mac/tables/mozilla/bugs/bug2479-2-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/tables/mozilla/bugs/bug2479-2-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/tables/mozilla/bugs/bug2479-2-expected.txt [moved from LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug2479-2-expected.txt with 98% similarity]
LayoutTests/platform/mac/tables/mozilla/bugs/bug2479-4-expected.txt
LayoutTests/platform/mac/tables/mozilla/bugs/bug278266-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/tables/mozilla/bugs/bug278266-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/tables/mozilla/bugs/bug278266-expected.txt [moved from LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug278266-expected.txt with 87% similarity]
LayoutTests/platform/mac/tables/mozilla/bugs/bug8411-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/tables/mozilla/bugs/bug8411-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/tables/mozilla/bugs/bug8411-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug2479-2-expected.checksum [deleted file]
LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug2479-2-expected.png [deleted file]
LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug278266-expected.checksum [deleted file]
LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug278266-expected.png [deleted file]
LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug8411-expected.checksum [deleted file]
LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug8411-expected.png [deleted file]
LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug8411-expected.txt [deleted file]
LayoutTests/platform/mac/tables/mozilla_expected_failures/other/test4-expected.txt
LayoutTests/tables/mozilla/bugs/bug2479-2.html [moved from LayoutTests/tables/mozilla_expected_failures/bugs/bug2479-2.html with 100% similarity]
LayoutTests/tables/mozilla/bugs/bug278266.html [moved from LayoutTests/tables/mozilla_expected_failures/bugs/bug278266.html with 100% similarity]
LayoutTests/tables/mozilla/bugs/bug8411.xml [moved from LayoutTests/tables/mozilla_expected_failures/bugs/bug8411.xml with 100% similarity]
WebCore/ChangeLog
WebCore/rendering/RenderContainer.cpp