LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Jun 2006 00:20:29 +0000 (00:20 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Jun 2006 00:20:29 +0000 (00:20 +0000)
commit53c8d1f668b7fbba4fb9c07996dd14e9d19a1d14
tree7db4124749aef5ed41ab4cba918f9799f17b869c
parent5964d3d024b414f93c7c262ef56e89a3367d5e52
LayoutTests:

        Reviewed by levi

        * editing/deleting/table-cells-expected.checksum: Added.
        * editing/deleting/table-cells-expected.png: Added.
        * editing/deleting/table-cells-expected.txt: Added.
        * editing/deleting/table-cells.html: Added.
        * editing/inserting/paragraph-separator-in-table-1-expected.checksum: Added.
        * editing/inserting/paragraph-separator-in-table-1-expected.png: Added.
        * editing/inserting/paragraph-separator-in-table-1-expected.txt: Added.
        * editing/inserting/paragraph-separator-in-table-1.html: Added.
        * editing/inserting/paragraph-separator-in-table-2-expected.checksum: Added.
        * editing/inserting/paragraph-separator-in-table-2-expected.png: Added.
        * editing/inserting/paragraph-separator-in-table-2-expected.txt: Added.
        * editing/inserting/paragraph-separator-in-table-2.html: Added.

WebCore:

        Reviewed by levi

        * editing/DeleteSelectionCommand.cpp:
        (WebCore::DeleteSelectionCommand::initializePositionData): Fix a bug in the code
        to stop merges across table cells.
        (WebCore::DeleteSelectionCommand::mergeParagraphs): Move the code to stop merges
        across table cells to initializePositionData so that its changes to
        m_mergeBlocksAfterDelete can take effect on the endingPosition.
        * editing/InsertParagraphSeparatorCommand.cpp:
        (WebCore::InsertParagraphSeparatorCommand::doApply): Turn into an InsertLineBreak
        instead of splitting/cloning a table cell.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14962 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/deleting/table-cells-expected.checksum [new file with mode: 0644]
LayoutTests/editing/deleting/table-cells-expected.png [new file with mode: 0644]
LayoutTests/editing/deleting/table-cells-expected.txt [new file with mode: 0644]
LayoutTests/editing/deleting/table-cells.html [new file with mode: 0644]
LayoutTests/editing/inserting/paragraph-separator-in-table-1-expected.checksum [new file with mode: 0644]
LayoutTests/editing/inserting/paragraph-separator-in-table-1-expected.png [new file with mode: 0644]
LayoutTests/editing/inserting/paragraph-separator-in-table-1-expected.txt [new file with mode: 0644]
LayoutTests/editing/inserting/paragraph-separator-in-table-1.html [new file with mode: 0644]
LayoutTests/editing/inserting/paragraph-separator-in-table-2-expected.checksum [new file with mode: 0644]
LayoutTests/editing/inserting/paragraph-separator-in-table-2-expected.png [new file with mode: 0644]
LayoutTests/editing/inserting/paragraph-separator-in-table-2-expected.txt [new file with mode: 0644]
LayoutTests/editing/inserting/paragraph-separator-in-table-2.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/DeleteSelectionCommand.cpp
WebCore/editing/InsertParagraphSeparatorCommand.cpp