WebCore:
authorddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Jun 2006 05:35:21 +0000 (05:35 +0000)
committerddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Jun 2006 05:35:21 +0000 (05:35 +0000)
commit940aed337a114d1e3fa9b955f9b9efc8aade5813
tree42a7ad077d8758afc99c16357323feae5a37e068
parent6cdae1101d836cbb73d0fa548e2701c5ce61fec2
WebCore:

        Reviewed by Justin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9505
          moveParagraphContentsToNewBlockIfNecessary creates a new block outside the current position

        * editing/CompositeEditCommand.cpp:
        Added sanity checking to prevent modifying nodes outside of
        where we should be
        (WebCore::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary):

LayoutTests:

        Reviewed by Justin.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=9505
         moveParagraphContentsToNewBlockIfNecessary creates a new block outside the current position

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

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