Bug 133465 - REGRESSION (iOS WebKit2): Single tap in pages with focus on load will clear the selection after the keyboard appears
Summary: REGRESSION (iOS WebKit2): Single tap in pages with focus on load will clear t...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Enrica Casucci
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-06-02 18:03 PDT by Enrica Casucci
Modified: 2014-06-02 18:26 PDT (History)
0 users

See Also:


Attachments
Patch (3.44 KB, patch)
2014-06-02 18:09 PDT, Enrica Casucci
benjamin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Enrica Casucci 2014-06-02 18:03:49 PDT
On iOS if a page focuses an input field on load we don't bring the keyboard on screen.
Keyboard is only shown when the user interacts with the page.
Still the WebProcess sets the focus and the selection according to the rules.
We need to make sure the UI process doesn't accidentally clear this selection when the user starts the interaction with the page.

<rdar://problem/17059189>
Comment 1 Enrica Casucci 2014-06-02 18:09:47 PDT
Created attachment 232411 [details]
Patch
Comment 2 Enrica Casucci 2014-06-02 18:26:57 PDT
Committed revision 169553.