|Summary:||Form field focus is "lost" when said field has been modified|
|Product:||WebKit||Reporter:||André Dion <andredion>|
|Version:||528+ (Nightly build)|
|OS:||OS X 10.6|
Description André Dion 2011-03-01 08:10:23 PST
Using the test case here: http://jsfiddle.net/keeto/tqSyy/4/ When the field gets focus, an element is inserted into the DOM before it which causes the field to be pushed down, which in turn causes the field to "lose" focus. No blur event is fired, no typed text shows up in the field, and the field still appears to be in focus (the outline is drawn). Calling .focus() on the text field again has no result. The only way to re-establish focus is for the end-user to manually select the field again. This bug may be related to https://bugs.webkit.org/show_bug.cgi?id=14366
Comment 1 Daniel Bates 2011-03-23 14:42:47 PDT
Created attachment 86689 [details] Test case derived from http://jsfiddle.net/keeto/tqSyy/4/ For historical preservation, I've created a stand-alone version of the test case <http://jsfiddle.net/keeto/tqSyy/4/>.
Comment 2 Daniel Bates 2011-03-23 15:18:12 PDT
Created attachment 86706 [details] Work-in-progress layout test Work in progress DRT/manual layout test. I suspect that this bug is a duplicate of bug #14366. I will take a look later today unless someone confirms it before me.
Comment 3 Daniel Bates 2011-03-24 23:42:20 PDT
Created attachment 86895 [details] DRT Layout Test DRT layout test that can also be run by hand.