Reviewed by Hyatt
authorkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Apr 2004 22:13:49 +0000 (22:13 +0000)
committerkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Apr 2004 22:13:49 +0000 (22:13 +0000)
commitc995ea9c0a0cd048c0b28bcd845a141dfd4f65ca
tree07b55551d1281850daa75f802ca3544516ebfdff
parent1c89f54c3be16612bec0e7e4fa6fb9979eb1fad5
    Reviewed by Hyatt

        * khtml/editing/htmlediting_impl.cpp:
        (DeleteSelectionCommandImpl::containsOnlyWhitespace): New helper.
        (DeleteSelectionCommandImpl::doApply): Fix deleting collapsed whitespace at the end of a line
        where text has flowed to the next line and the caret is at the beginning of the next line.
        * khtml/editing/htmlediting_impl.h: Updated for new helper.
        * layout-tests/editing/deleting/delete-line-end-ws-001-expected.txt: Added.
        * layout-tests/editing/deleting/delete-line-end-ws-001.html: Added.
        * layout-tests/editing/deleting/delete-line-end-ws-002-expected.txt: Added.
        * layout-tests/editing/deleting/delete-line-end-ws-002.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@6408 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/editing/deleting/delete-line-end-ws-001-expected.txt [new file with mode: 0644]
LayoutTests/editing/deleting/delete-line-end-ws-001.html [new file with mode: 0644]
LayoutTests/editing/deleting/delete-line-end-ws-002-expected.txt [new file with mode: 0644]
LayoutTests/editing/deleting/delete-line-end-ws-002.html [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23
WebCore/khtml/editing/htmlediting_impl.cpp
WebCore/khtml/editing/htmlediting_impl.h