Reviewed by Ken Kocienda.
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Nov 2004 03:46:04 +0000 (03:46 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Nov 2004 03:46:04 +0000 (03:46 +0000)
commit43262b3b83841916fe7181643a26d20e1d3f9b93
treed4cffeb6525d581c2734d57763833116b632d822
parent3ac7d572b732abdc94e99697259c49c3132d9d34
    Reviewed by Ken Kocienda.

<rdar://problem/3865854> Deleting first line deletes all lines

        * khtml/editing/htmlediting.cpp:
        (khtml::DeleteSelectionCommand::performGeneralDelete):
        Problem was that the code that deletes fully selected m_downstreamEnd.node() by deleting one
        of its ancestors, failed to end the loop that deletes all fully selected nodes.  Also,
        fixed this code to clear m_trailingWhitespaceValid.  Also removed dead m_endingPosition
        update because it is handled in calculateEndingPosition now.
        * layout-tests/editing/deleting/delete-3865854-fix-expected.txt: Added.
        * layout-tests/editing/deleting/delete-3865854-fix.html: Added.

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