LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Nov 2006 03:52:19 +0000 (03:52 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Nov 2006 03:52:19 +0000 (03:52 +0000)
commit16fad6d4fb31b967be1145488fef9f946a8c729d
tree586232a5848f9ffda36635a69b75a2b57f0ee3c7
parent15d5bf97b5ded95246d5e5256d838ea56cdd3087
LayoutTests:

        Reviewed by harrison

        <rdar://problem/4806874>
        Missing background image after paste

        Checking in new expected results for fixes:
        * editing/inserting/insert-3851164-fix-expected.checksum:
        * editing/inserting/insert-3851164-fix-expected.png:
        * editing/selection/drag-in-iframe-expected.checksum:
        * editing/selection/drag-in-iframe-expected.png:

        Same, but also removing an outdated comment about a bug:
        * editing/pasteboard/paste-text-019-expected.checksum:
        * editing/pasteboard/paste-text-019-expected.png:
        * editing/pasteboard/paste-text-019-expected.txt:
        * editing/pasteboard/paste-text-019.html:

        Added:
        * editing/pasteboard/4806874-expected.checksum: Added.
        * editing/pasteboard/4806874-expected.png: Added.
        * editing/pasteboard/4806874-expected.txt: Added.
        * editing/pasteboard/4806874.html: Added.

        Equivalent render trees:
        * editing/inserting/insert-3907422-fix-expected.txt:
        * editing/pasteboard/paste-text-011-expected.txt:
        * editing/pasteboard/paste-text-015-expected.txt:

WebCore:

        Reviewed by harrison

        <rdar://problem/4806874>
        Missing background image after paste

        * editing/markup.cpp:
        (WebCore::createMarkup): If the body is fully selected, add a
        div with its CSS properties to the markup.  Migrated a use of
        enclosingBlockFlowElement to enclosingBlock to fix an infinite
        loop when pasting <div><input></div>.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
18 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/inserting/insert-3851164-fix-expected.checksum
LayoutTests/editing/inserting/insert-3851164-fix-expected.png
LayoutTests/editing/inserting/insert-3907422-fix-expected.txt
LayoutTests/editing/pasteboard/4806874-expected.checksum [new file with mode: 0644]
LayoutTests/editing/pasteboard/4806874-expected.png [new file with mode: 0644]
LayoutTests/editing/pasteboard/4806874-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/4806874.html [new file with mode: 0644]
LayoutTests/editing/pasteboard/paste-text-011-expected.txt
LayoutTests/editing/pasteboard/paste-text-015-expected.txt
LayoutTests/editing/pasteboard/paste-text-019-expected.checksum
LayoutTests/editing/pasteboard/paste-text-019-expected.png
LayoutTests/editing/pasteboard/paste-text-019-expected.txt
LayoutTests/editing/pasteboard/paste-text-019.html
LayoutTests/editing/selection/drag-in-iframe-expected.checksum
LayoutTests/editing/selection/drag-in-iframe-expected.png
WebCore/ChangeLog
WebCore/editing/markup.cpp