LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Oct 2006 23:52:15 +0000 (23:52 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Oct 2006 23:52:15 +0000 (23:52 +0000)
commitb6826ab1fde5c5e9ae48f3e3ce03a01bb0cd63c4
tree05c1914e0a9d85caeb7ee25fc6fae3db4a5755a6
parent51c0c7229ef5fe3a541ec92417affe581ecebf6b
LayoutTests:

        Reviewed by harrison

        <rdar://problem/4774354>
        REGRESSION: In Gmail, caret reappears when dragging a selection over some text in the message body

        * fast/repaint/4774354-expected.checksum: Added.
        * fast/repaint/4774354-expected.png: Added.
        * fast/repaint/4774354-expected.txt: Added.
        * fast/repaint/4774354.html: Added.
        * fast/repaint/resources/contenteditable-iframe-src.html: Added.

WebCore:

        Reviewed by harrison

        <rdar://problem/4774354>
        REGRESSION: In Gmail, caret reappears when dragging a selection over some text in the message body

        Functions call recomputCaretRect to see if the caret rect has changed,
        and, if it has, they invalidate (repaint) it.  recomputeCaretRect was
        returning false if the caret turned into a range selection or was blown
        away.

        * editing/SelectionController.cpp:
        (WebCore::SelectionController::recomputeCaretRect): Don't early return if
        !isCaret().  Obtain the FrameView* using the m_frame pointer, because m_sel
        may now be null.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/repaint/4774354-expected.checksum [new file with mode: 0644]
LayoutTests/fast/repaint/4774354-expected.png [new file with mode: 0644]
LayoutTests/fast/repaint/4774354-expected.txt [new file with mode: 0644]
LayoutTests/fast/repaint/4774354.html [new file with mode: 0644]
LayoutTests/fast/repaint/resources/contenteditable-iframe-src.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/SelectionController.cpp