LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Apr 2007 01:10:15 +0000 (01:10 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Apr 2007 01:10:15 +0000 (01:10 +0000)
commit7fa1a198eeb3370aa0ee8f7dc45d20a24dde411f
treea1e1035cd1537669ffa39ba8f6670528296c9231
parent3cd279cfa7f65553ed724317cc96d3e4c878c641
LayoutTests:

        Reviewed by darin

        <rdar://problem/5131716>
        Clicking just before a ToDo doesn't put the caret before the ToDo

        * editing/selection/5131716-1-expected.checksum: Added.
        * editing/selection/5131716-1-expected.png: Added.
        * editing/selection/5131716-1-expected.txt: Added.
        * editing/selection/5131716-1.html: Added.
        * editing/selection/5131716-2-expected.checksum: Added.
        * editing/selection/5131716-2-expected.png: Added.
        * editing/selection/5131716-2-expected.txt: Added.
        * editing/selection/5131716-2.html: Added.
        * editing/selection/5131716-3-expected.checksum: Added.
        * editing/selection/5131716-3-expected.png: Added.
        * editing/selection/5131716-3-expected.txt: Added.
        * editing/selection/5131716-3.html: Added.
        * editing/selection/5131716-4-expected.checksum: Added.
        * editing/selection/5131716-4-expected.png: Added.
        * editing/selection/5131716-4-expected.txt: Added.
        * editing/selection/5131716-4.html: Added.

WebCore:

        Reviewed by darin

        <rdar://problem/5131716>
        Clicking just before a ToDo doesn't put the caret before the ToDo

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::positionForCoordinates):
        Consider clicks inside the blocks padding, instead of
        incorrectly sending them to the position before the block.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
19 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/selection/5131716-1-expected.checksum [new file with mode: 0644]
LayoutTests/editing/selection/5131716-1-expected.png [new file with mode: 0644]
LayoutTests/editing/selection/5131716-1-expected.txt [new file with mode: 0644]
LayoutTests/editing/selection/5131716-1.html [new file with mode: 0644]
LayoutTests/editing/selection/5131716-2-expected.checksum [new file with mode: 0644]
LayoutTests/editing/selection/5131716-2-expected.png [new file with mode: 0644]
LayoutTests/editing/selection/5131716-2-expected.txt [new file with mode: 0644]
LayoutTests/editing/selection/5131716-2.html [new file with mode: 0644]
LayoutTests/editing/selection/5131716-3-expected.checksum [new file with mode: 0644]
LayoutTests/editing/selection/5131716-3-expected.png [new file with mode: 0644]
LayoutTests/editing/selection/5131716-3-expected.txt [new file with mode: 0644]
LayoutTests/editing/selection/5131716-3.html [new file with mode: 0644]
LayoutTests/editing/selection/5131716-4-expected.checksum [new file with mode: 0644]
LayoutTests/editing/selection/5131716-4-expected.png [new file with mode: 0644]
LayoutTests/editing/selection/5131716-4-expected.txt [new file with mode: 0644]
LayoutTests/editing/selection/5131716-4.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderBlock.cpp