Created attachment 585861 [details] testcase See testcase, when tapping on the selects, a focus event should fire. This works fine in XUL Fennec and stock browser, but Fennec Native doesn't give focus to the select.
Created attachment 586179 [details] [diff] [review] Patch Hmm... looks like we manually fired this in XUL Fennec right before sending a message to show the UI: http://mxr.mozilla.org/mozilla-central/source/mobile/xul/chrome/content/forms.js#203 I'm only doing this for select elements for now here. The form assistant gets sent taps on all sorts of elements to determine if it needs to help, so we don't want to always call focus.
Created attachment 586457 [details] testcase2 Sorry, I should have been more clear. Not only, no focus events are fired, but I don't see any of the mouse events either. See testcase, ideally, when tapping on the select, the same events as on the link should fire, namely: mousemove mousedown focus mouseup click And they also should fire in that order.
I'll have to play a bit. We actually don't want clicks to fire on the select elements, as the selected item shouldn't change when you tap on multirow selects in mobile. But maybe there's some trickery we did before to fire click with some other target.
See the patch in bug 685197 for the trickery I used in XUL Fennec, especially the css part.
filed bug 715990 for mouse events https://hg.mozilla.org/integration/mozilla-inbound/rev/309fc0271e4c
Comment on attachment 586179 [details] [diff] [review] Patch [Approval Request Comment] Caused by the new Native code. This fix gets Fennec back to XUL Fennec compat.
Comment on attachment 586179 [details] [diff] [review] Patch [Triage Comment] Mobile only - approved for Aurora.
Verified fixed on: Mozilla/5.0 (Android;Linux armv7l;rv:11.0a2)Gecko/20120130 Firefox/11.0a2 Fennec/11.0a2 Device: Samsung Galaxy S OS: Android 2.2 Mozilla/5.0 (Android;Linux armv7l;rv:12.0a1)Gecko/20120130 Firefox/12.0a1 Fennec/12.0a1 Device: Samsung Galaxy S OS: Android 2.2