⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 139939 in webkit


Ignore:
Timestamp:
Jan 16, 2013, 5:21:20 PM (14 years ago)
Author:
esprehn@chromium.org
Message:

Cursor stops blinking after clicking on scrollbar
https://bugs.webkit.org/show_bug.cgi?id=106470

Reviewed by Ojan Vafai.

Restore the caret blinking when doing a mouseup on a
scrollbar so scrolling a textarea doesn't cause the
caret to freeze.

No new tests, there doesn't seem to be any way to test
cursor blinking.

  • page/EventHandler.cpp:

(WebCore::EventHandler::handleMouseReleaseEvent):
(WebCore::EventHandler::handleMouseDoubleClickEvent):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r139938 r139939  
     12013-01-16  Elliott Sprehn  <esprehn@chromium.org>
     2
     3        Cursor stops blinking after clicking on scrollbar
     4        https://bugs.webkit.org/show_bug.cgi?id=106470
     5
     6        Reviewed by Ojan Vafai.
     7
     8        Restore the caret blinking when doing a mouseup on a
     9        scrollbar so scrolling a textarea doesn't cause the
     10        caret to freeze.
     11
     12        No new tests, there doesn't seem to be any way to test
     13        cursor blinking.
     14
     15        * page/EventHandler.cpp:
     16        (WebCore::EventHandler::handleMouseReleaseEvent):
     17        (WebCore::EventHandler::handleMouseDoubleClickEvent):
     18
    1192013-01-16  Adam Barth  <abarth@webkit.org>
    220
  • trunk/Source/WebCore/page/EventHandler.cpp

    r139503 r139939  
    889889    // Used to prevent mouseMoveEvent from initiating a drag before
    890890    // the mouse is pressed again.
    891     m_frame->selection()->setCaretBlinkingSuspended(false);
    892891    m_mousePressed = false;
    893892    m_capturesDragging = false;
     
    15541553    RefPtr<FrameView> protector(m_frame->view());
    15551554
     1555    m_frame->selection()->setCaretBlinkingSuspended(false);
     1556
    15561557    UserGestureIndicator gestureIndicator(DefinitelyProcessingUserGesture);
    15571558
     
    17611762{
    17621763    RefPtr<FrameView> protector(m_frame->view());
     1764
     1765    m_frame->selection()->setCaretBlinkingSuspended(false);
    17631766
    17641767#if ENABLE(TOUCH_EVENTS)
Note: See TracChangeset for help on using the changeset viewer.