Comment #2 on issue 9749 by karlmicha: Focused Field Error
http://code.google.com/p/chromium/issues/detail?id=9749

The focus on the input field is lost when a style is applied to the form  
tag. Here
are some reductions:

lostfocus_externalcss.html (reduction of the original website): loads an  
external
stylesheet; focus is set by javascript at the end of the body, which  
executes before
the style is applied; focus is lost.

lostfocus_externalcss_delay.html: same, but setting focus is delayed by  
50ms; focus
is not lost.

lostfocus_onload.html: external stylesheet, but javascript in onload body  
attribute,
executed after styles have been applied; focus not lost

lostfocus_jsstyle1.html: javascript adds style first, then sets focus;  
focus not lost

lostfocus_jsstyle2.html: javascript sets focus first, then adds style;  
focus lost

Checked with Chrome 3.0.192.0 (19931) on Linux (FC9), Firefox 3.0.11, Opera  
9.64.
Firefox does not loose focus with lostfocus_jsstyle2.html but does not  
display a
cursor until you click in the input field.

This bug is probably related to a number of other issues about lost focus  
when other
things happen.

Attachments:
        lostfocus_externalcss.html  337 bytes
        lostfocus_externalcss_delay.html  372 bytes
        lostfocus.css  21 bytes
        lostfocus_jsstyle1.html  311 bytes
        lostfocus_jsstyle2.html  311 bytes

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to