commit | f18c539344655c8d39e3412a0985f7e42193eb52 | [log] [tgz] |
---|---|---|
author | Cary Clark <cary@android.com> | Thu Sep 24 16:25:25 2009 -0400 |
committer | Cary Clark <cary@android.com> | Thu Sep 24 16:45:24 2009 -0400 |
tree | a35171a94f000fe22b81a3c1bf05649a812e551b | |
parent | f22fc124ff7974d0b6380199f7d53e66bb7feb29 [diff] |
set the selection after sending a click Webkit expects the currently focused text input to have a set selection before it can receive key events for insertion. Coincidentally, we always set the selection except when using the 'next' button on the IME to switch between text fields. The selection has to be set after the text field receives focus, so add a setSelection() message after the click() message is sent in passToJavaScript(). fixes http://b/issue?id=2087546