LayoutTests:
authorlweintraub <lweintraub@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 20 May 2006 00:21:46 +0000 (00:21 +0000)
committerlweintraub <lweintraub@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 20 May 2006 00:21:46 +0000 (00:21 +0000)
commit8d818ea0efbdd3ec2a05497e31f75e564b463ab4
tree1e5222aa1318045bf7b496d609e35af773757fa0
parentcec5c38d158237fd7a2a3ea472ed84fa435e86f4
LayoutTests:

        Reviewed by justin.

        Tests for <http://bugzilla.opendarwin.org/show_bug.cgi?id=8931>
        Drag caret not painted for editable sub-frames

        * editing/resources/select-and-drag-iframe.html: Added.
        * editing/selection/drag-in-iframe-expected.checksum: Added.
        * editing/selection/drag-in-iframe-expected.png: Added.
        * editing/selection/drag-in-iframe-expected.txt: Added.
        * editing/selection/drag-in-iframe.html: Added.

WebCore:

        Reviewed by justin.

        <http://bugzilla.opendarwin.org/show_bug.cgi?id=8931>
        Drag caret not painted for editable sub-frames

        Moved the drag caret out of Frame and into Page.
        Only the Frame that contains the drag caret will paint it.

        * editing/SelectionController.h:
        * page/Frame.cpp:
        (WebCore::Frame::dragCaret):
        (WebCore::Frame::setDragCaret):
        (WebCore::Frame::paintDragCaret):
        * page/FramePrivate.h:
        * page/Page.cpp:
        (WebCore::Page::dragCaret):
        (WebCore::Page::setDragCaret):
        * page/Page.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14498 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/resources/select-and-drag-iframe.html [new file with mode: 0644]
LayoutTests/editing/selection/drag-in-iframe-expected.checksum [new file with mode: 0644]
LayoutTests/editing/selection/drag-in-iframe-expected.png [new file with mode: 0644]
LayoutTests/editing/selection/drag-in-iframe-expected.txt [new file with mode: 0644]
LayoutTests/editing/selection/drag-in-iframe.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/SelectionController.h
WebCore/page/Frame.cpp
WebCore/page/FramePrivate.h
WebCore/page/Page.cpp
WebCore/page/Page.h