Reviewed by John
authorkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 Nov 2004 17:49:56 +0000 (17:49 +0000)
committerkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 Nov 2004 17:49:56 +0000 (17:49 +0000)
commit3d2ee20087922673c7828566cf890bcedc387087
tree4b0619eaa2128460bff383ed48d4d78606aa33aa
parent009d65fe990b58b48b556770df9f7fbfb5289b50
    Reviewed by John

        Fix for these bugs:

        <rdar://problem/3875618> REGRESSION (Mail): Hitting down arrow with full line selected skips line (br case)
        <rdar://problem/3875641> REGRESSION (Mail): Hitting down arrow with full line selected skips line (div case)

        * khtml/editing/selection.cpp:
        (khtml::Selection::modifyMovingRightForward): Fixed by juggling the position as the starting point for
        the next line position when necessary.
        * layout-tests/editing/selection/move-3875618-fix-expected.txt: Added.
        * layout-tests/editing/selection/move-3875618-fix.html: Added.
        * layout-tests/editing/selection/move-3875641-fix-expected.txt: Added.
        * layout-tests/editing/selection/move-3875641-fix.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/editing/selection/move-3875618-fix-expected.txt [new file with mode: 0644]
LayoutTests/editing/selection/move-3875618-fix.html [new file with mode: 0644]
LayoutTests/editing/selection/move-3875641-fix-expected.txt [new file with mode: 0644]
LayoutTests/editing/selection/move-3875641-fix.html [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23
WebCore/khtml/editing/SelectionController.cpp
WebCore/khtml/editing/selection.cpp