If an input shrinks or otherwise moves out from under the cursor onfocus, the input remains focused but cannot receive keyboard input. The linked JSFiddle demonstrates the issue. This has been tested on the webkit 1.3.3 release and 534.30 (branches/chromium/742@88085) in Google Chrome 12.0.742.91 beta.
FYI, both of the builds I tested are using GTK so it may or may not be limited to GTK builds.
Levi, is this a duplicate of the bug 38696?
I can't actually reproduce this with 13.0.782.20. Clicking on the green box focuses the input field and keyboard input is properly handled.
(In reply to comment #3) > I can't actually reproduce this with 13.0.782.20. Clicking on the green box focuses the input field and keyboard input is properly handled. Ah, ok. Maybe we should just add a test for this then?
Works correctly for me in Safari+WebKit r88246, too (I could reproduce in Safari 5.0.5).
> Ah, ok. Maybe we should just add a test for this then? I marked the bug as resolved without seeing your comment, but please feel free to re-open if a test needs to be landed.
Hmm, I just tried in Chromium 14.0.792.0 (Developer Build 88942 Linux) Ubuntu 10.04 and it does work correctly. I guess it was fixed somewhere between 534.30 (branches/chromium/742@88085) and 535.1 (trunk@88697).
(In reply to comment #6) > > Ah, ok. Maybe we should just add a test for this then? > > I marked the bug as resolved without seeing your comment, but please feel free to re-open if a test needs to be landed. Let's add a test to ensure we don't regress in the future :)
Created attachment 97315 [details] adds a regression test
Committed r88951: <http://trac.webkit.org/changeset/88951>