LayoutTests:
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Jul 2006 17:24:22 +0000 (17:24 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Jul 2006 17:24:22 +0000 (17:24 +0000)
commit7f026fd97c36b60968e49dd3df25cc518fe74e3e
tree8a12c50c239dd4b0860fbafefc3292592ff42e80
parentb27a5510374b814bd7765008f922c5303f5b1684
LayoutTests:

        <rdar://problem/4629307> -[DOMRange markupString] does not include the initial table element if it is at the beginning of the range
        <rdar://problem/4062218> pasting in contents of web.apple.com strips off the <table> element from the first table

        (this really only tests the symptoms of <rdar://problem/4062218>, because -[DOMRange markupString] is not testable)

        * editing/pasteboard/paste-table-003-expected.checksum: Added.
        * editing/pasteboard/paste-table-003-expected.png: Added.
        * editing/pasteboard/paste-table-003-expected.txt: Added.
        * editing/pasteboard/paste-table-003.html: Added.

WebCore:

        Reviewed by Tim Hatcher.

        <rdar://problem/4629307> -[DOMRange markupString] does not include the initial table element if it is at the beginning of the range
        <rdar://problem/4062218> pasting in contents of web.apple.com strips off the <table> element from the first table

        Better patch than previous checkin.

        * test: editing/pasteboard/paste-table-003.html

        * editing/markup.cpp:
        (WebCore::createMarkup):
        Make sure to include the table when including a tbody.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/pasteboard/paste-table-003-expected.checksum [new file with mode: 0644]
LayoutTests/editing/pasteboard/paste-table-003-expected.png [new file with mode: 0644]
LayoutTests/editing/pasteboard/paste-table-003-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/paste-table-003.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/markup.cpp