LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 16 Sep 2006 01:17:24 +0000 (01:17 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 16 Sep 2006 01:17:24 +0000 (01:17 +0000)
commitbb33d1197b74fc46c09bde0483483939cb4b9b12
treeaec551e9a97980c342609e2ab6e49966b5ddbd13
parent0be07fa4deebf868fa8c350e803aad78f61586bf
LayoutTests:

        Reviewed by harrison

        <rdar://problem/4674869>
        REGRESSION: selecting text to write over results in cursor jumping to middle of next line

        * editing/deleting/whitespace-pre-1-expected.checksum: Added.
        * editing/deleting/whitespace-pre-1-expected.png: Added.
        * editing/deleting/whitespace-pre-1-expected.txt: Added.
        * editing/deleting/whitespace-pre-1.html: Added.

WebCore:

        Reviewed by harrison

        <rdar://problem/4674869>
        REGRESSION: selecting text to write over results in cursor jumping to middle of next line

        * editing/SelectionController.cpp:
        (WebCore::SelectionController::modify): Added lineBoundary to test fix.
        * editing/visible_units.cpp:
        (WebCore::endOfLine): If the last box on the line is a lineBreak, return the
        position before it, not after it.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16384 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/deleting/whitespace-pre-1-expected.checksum [new file with mode: 0644]
LayoutTests/editing/deleting/whitespace-pre-1-expected.png [new file with mode: 0644]
LayoutTests/editing/deleting/whitespace-pre-1-expected.txt [new file with mode: 0644]
LayoutTests/editing/deleting/whitespace-pre-1.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/SelectionController.cpp
WebCore/editing/visible_units.cpp