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