Make iOS match Mac behavior. Pressing the spacebar when a popup button is focused (e.g. <select>) should open the picker/popover.
<rdar://problem/49389129>
For now let's keep the iPhone behavior of blurring the element when the Done button is pressed and hence pressing spacebar does nothing (because there is no focused element).
Created attachment 366215 [details] Patch and layout test Test depends on the patch for bug #196272.
Created attachment 366218 [details] Patch and layout test
Created attachment 367068 [details] Patch (Rebased copy of Dan's patch)
I uploaded a rebased copy of Dan's patch.
Comment on attachment 367068 [details] Patch (Rebased copy of Dan's patch) r=me, assuming ews is happy.
Comment on attachment 367068 [details] Patch (Rebased copy of Dan's patch) Clearing flags on attachment: 367068 Committed r244096: <https://trac.webkit.org/changeset/244096>
All reviewed patches have been landed. Closing bug.