Changeset 56917 in webkit


Ignore:
Timestamp:
Apr 1, 2010 9:45:43 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-01 Finnur Thorarinsson <finnur.webkit@gmail.com>

Reviewed by Dimitri Glazkov.

[chromium] FindInPage should clear the focused node when a match has
been found. This is because WebFrameImpl::setFocus will try to refocus
editable elements if it thinks they have focus, causing the page to
scroll.

https://bugs.webkit.org/show_bug.cgi?id=36923

  • src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::find):
Location:
trunk/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/chromium/ChangeLog

    r56908 r56917  
     12010-04-01  Finnur Thorarinsson  <finnur.webkit@gmail.com>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        [chromium] FindInPage should clear the focused node when a match has
     6        been found. This is because WebFrameImpl::setFocus will try to refocus
     7        editable elements if it thinks they have focus, causing the page to
     8        scroll.
     9
     10        https://bugs.webkit.org/show_bug.cgi?id=36923
     11
     12        * src/WebFrameImpl.cpp:
     13        (WebKit::WebFrameImpl::find):
     14
    1152010-04-01  Marcus Bulach  <bulach@chromium.org>
    216
  • trunk/WebKit/chromium/src/WebFrameImpl.cpp

    r56244 r56917  
    13241324        }
    13251325
     1326        // Make sure no node is focused. See http://crbug.com/38700.
     1327        frame()->document()->setFocusedNode(0);
     1328
    13261329        if (!options.findNext || activeSelection) {
    13271330            // This is either a Find operation or a Find-next from a new start point
Note: See TracChangeset for help on using the changeset viewer.