Changeset 79451 in webkit


Ignore:
Timestamp:
Feb 23, 2011 9:10:33 AM (13 years ago)
Author:
mitz@apple.com
Message:

Fix two issues seen in WebKit2 views on Mac:

  • <rdar://problem/8867831> WebKit2: Insertion points in form fields no longer blink
  • <rdar://problem/8950362> REGRESSION (WebKit2): Cannot deselect text

Reviewed by Maciej Stachowiak.

  • page/EventHandler.cpp:

(WebCore::EventHandler::EventHandler): Initialize m_activationEventNumber
to -1. Since WebKit2 doesn't support non-activating clicks yet (<http://webkit.org/b/55053>
<rdar://problem/9042197>) and doesn't send event numbers, all events were considered to be
window-activating events. This in turn prevented them from clearing the selection and resuming
caret blinking on mouse up.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r79449 r79451  
     12011-02-23  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Maciej Stachowiak.
     4
     5        Fix two issues seen in WebKit2 views on Mac:
     6        - <rdar://problem/8867831> WebKit2: Insertion points in form fields no longer blink
     7        - <rdar://problem/8950362> REGRESSION (WebKit2): Cannot deselect text
     8
     9        * page/EventHandler.cpp:
     10        (WebCore::EventHandler::EventHandler): Initialize m_activationEventNumber
     11        to -1. Since WebKit2 doesnÕt support non-activating clicks yet (<http://webkit.org/b/55053>
     12        <rdar://problem/9042197>) and doesnÕt send event numbers, all events were considered to be
     13        window-activating events. This in turn prevented them from clearing the selection and resuming
     14        caret blinking on mouse up.
     15
    1162011-02-23  Jacob Dinu  <dinu.jacob@nokia.com>
    217
     
    4945092011-02-22  Chang Shu  <cshu@webkit.org>
    495510
    496         Reviewed by Csaba Osztrogonác.
     511        Reviewed by Csaba Osztrogonác.
    497512
    498513        [Qt] editing/deleting/5408255.html fails
     
    5635782011-02-22  Andras Becsi  <abecsi@webkit.org>
    564579
    565         Reviewed by Csaba Osztrogonác.
     580        Reviewed by Csaba Osztrogonác.
    566581
    567582        [Qt] Redesign the build system
     
    688703
    689704        Reviewed by Laszlo Gombos.
    690         Rubber-stamped by Csaba Osztrogonác.
     705        Rubber-stamped by Csaba Osztrogonác.
    691706
    692707        [Qt] Redesign the build system
     
    16251640        (WebCore::InspectorDOMAgent::create):
    16261641
    1627 2011-02-21  Csaba Osztrogonác  <ossy@webkit.org>
     16422011-02-21  Csaba Osztrogonác  <ossy@webkit.org>
    16281643
    16291644        Reviewed by Andreas Kling.
     
    240224172011-02-18  Yi Shen  <yi.4.shen@nokia.com>
    24032418
    2404         Reviewed by Tor Arne Vestbø.
     2419        Reviewed by Tor Arne Vestbø.
    24052420
    24062421        Always display the media controls when requiresFullscreenForVideoPlayback() is true
     
    30413056        (WebCore::DateComponents::parseTime):
    30423057
    3043 2011-02-18  Csaba Osztrogonác  <ossy@webkit.org>
     30582011-02-18  Csaba Osztrogonác  <ossy@webkit.org>
    30443059
    30453060        Rubber-stamped by Andreas Kling.
     
    32363251        * page/FrameView.cpp:
    32373252        (WebCore::FrameView::scrollXForFixedPosition): Moved from ScrollView here and changed to
    3238         account for page scale: when the page is scaled, the “viewport” with respect to which fixed
    3239         objects are positioned is scaled as well. Since its now bigger than the real viewport (that is,
     3253        account for page scale: when the page is scaled, the “viewport” with respect to which fixed
     3254        objects are positioned is scaled as well. Since it’s now bigger than the real viewport (that is,
    32403255        the frame view), we move it around in proportion to the document scroll, so that when the document
    32413256        is fully scrolled to the bottom-right, the bottom right of the scaled viewport is visible.
     
    38933908        (WebCore::RenderSVGResourcePattern::createTileImage):
    38943909
    3895 2011-02-17  Csaba Osztrogonác  <ossy@webkit.org>
     39102011-02-17  Csaba Osztrogonác  <ossy@webkit.org>
    38963911
    38973912        Unreviewed.
  • trunk/Source/WebCore/page/EventHandler.cpp

    r79196 r79451  
    197197    , m_mouseDownView(nil)
    198198    , m_sendingEventToSubview(false)
    199     , m_activationEventNumber(0)
     199    , m_activationEventNumber(-1)
    200200#endif
    201201#if ENABLE(TOUCH_EVENTS)
Note: See TracChangeset for help on using the changeset viewer.