LayoutTests:
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Nov 2006 18:08:52 +0000 (18:08 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Nov 2006 18:08:52 +0000 (18:08 +0000)
commit2d04b52a058d27dc10ea2da89826a16561451d0f
tree89a8d775c2bd898feb371063f04d1e53db15be8b
parent8812bb5aa1f79f859dae3a4ed8398f173d210a2f
LayoutTests:

        Reviewed by Darin.

        <rdar://problem/4813973> Pressing delete key to remove empty quoted line leaves cursor mis-positioned

        * editing/deleting/delete-br-012-expected.checksum: Added.
        * editing/deleting/delete-br-012-expected.png: Added.
        * editing/deleting/delete-br-012-expected.txt: Added.
        * editing/deleting/delete-br-012.html: Added.

WebCore:

        Reviewed by Darin.

        <rdar://problem/4813973> Pressing delete key to remove empty quoted line leaves cursor mis-positioned

        Test:
        * editing/deleting/delete-br-012.html

        * editing/DeleteSelectionCommand.cpp:
        (WebCore::DeleteSelectionCommand::handleSpecialCaseBRDelete):
        Update m_endingPosition when preventing merge.
        Also removed setting of m_mergeBlocksAfterDelete when this function returns true, because is is not checked in this case.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/deleting/delete-br-012-expected.checksum [new file with mode: 0644]
LayoutTests/editing/deleting/delete-br-012-expected.png [new file with mode: 0644]
LayoutTests/editing/deleting/delete-br-012-expected.txt [new file with mode: 0644]
LayoutTests/editing/deleting/delete-br-012.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/DeleteSelectionCommand.cpp