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