LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Sep 2006 19:56:27 +0000 (19:56 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Sep 2006 19:56:27 +0000 (19:56 +0000)
commit4832cff57a5a71c437c6282d33bc98c1af809a3f
treeb6327dd37d6120fab09d90406887d64e9e4b7d25
parent2d315dcce127d98cfcb166276bc38d84e4c23214
LayoutTests:

        Reviewed by john

        <rdar://problem/4747695>
        Gmail Editor: Crash at WebCore::Range::startPosition() when decreasing a indent

        * editing/deleting/list-item-1-expected.checksum: Added.
        * editing/deleting/list-item-1-expected.png: Added.
        * editing/deleting/list-item-1-expected.txt: Added.
        * editing/deleting/list-item-1.html: Added.
        * editing/execCommand/remove-list-item-1-expected.checksum: Added.
        * editing/execCommand/remove-list-item-1-expected.png: Added.
        * editing/execCommand/remove-list-item-1-expected.txt: Added.
        * editing/execCommand/remove-list-item-1.html: Added.

WebCore:

        Reviewed by john

        <rdar://problem/4747695>
        Gmail Editor: Crash at WebCore::Range::startPosition() when decreasing a indent

        * editing/DeleteSelectionCommand.cpp:
        (WebCore::DeleteSelectionCommand::initializeStartEnd): Stop expanding
        to select special elements that are fully selected after expansion
        moves to positions that are visually distinct from the originals.
        * editing/InsertListCommand.cpp:
        (WebCore::InsertListCommand::doApply): If the content of the list
        item will be moved into another list, put it in a list item.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/deleting/list-item-1-expected.checksum [new file with mode: 0644]
LayoutTests/editing/deleting/list-item-1-expected.png [new file with mode: 0644]
LayoutTests/editing/deleting/list-item-1-expected.txt [new file with mode: 0644]
LayoutTests/editing/deleting/list-item-1.html [new file with mode: 0644]
LayoutTests/editing/execCommand/remove-list-item-1-expected.checksum [new file with mode: 0644]
LayoutTests/editing/execCommand/remove-list-item-1-expected.png [new file with mode: 0644]
LayoutTests/editing/execCommand/remove-list-item-1-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/remove-list-item-1.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/DeleteSelectionCommand.cpp
WebCore/editing/InsertListCommand.cpp