Reviewed by John
authorkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Jan 2005 00:16:54 +0000 (00:16 +0000)
committerkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Jan 2005 00:16:54 +0000 (00:16 +0000)
commit9c9d4af26f8faf21505b6e10193477e817577bcf
tree3275128df87fe1a83ceb7d2d33f1f40ce6b27220
parentcaaa492bd89200645a2b86f2b008ffb905a78e4a
    Reviewed by John

        Fix for this bug:

        <rdar://problem/3959464> REGRESSION (Mail): Insertion point goes back to beginning of document after deleting

        * khtml/editing/htmlediting.cpp:
        (khtml::DeleteSelectionCommand::handleGeneralDelete): Add special case to handle retaining a fully-selected block.
        This fixes the bug.
        * layout-tests/editing/deleting/delete-3959464-fix-expected.txt: Added.
        * layout-tests/editing/deleting/delete-3959464-fix.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8432 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/editing/deleting/delete-3959464-fix-expected.txt [new file with mode: 0644]
LayoutTests/editing/deleting/delete-3959464-fix.html [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23
WebCore/khtml/editing/htmlediting.cpp