Open Bug 708269 Opened 12 years ago Updated 1 year ago

Incorrect focus handling on dynamically displayed fields


(Firefox :: General, defect)

3.6 Branch
Windows 7





(Reporter: h.ketan, Unassigned)



(1 file)

Attached file FocusTest.html
User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Build ID: 2008052906

Steps to reproduce:

1. Open the attached file in chrome
2. type some value in the first field and tabout. The focus moves to the third field instead of the second field that just became visible. type something in the third field and tabout, now the focus is on the address bar instead of the fourth field that just became visible.

Actual results:

The browser highlighted the next visible field instead of waiting and evaluating whether a field is becoming visible.

Expected results:

The field that became visible as a result of the JS should have the focus
Attachment #579717 - Attachment mime type: text/plain → text/html
I get the same results in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20111103 Firefox/3.6.24 ID:20111103063747 and Mozilla/5.0 (Windows NT 5.1; rv:11.0a1) Gecko/20111207 Firefox/11.0a1 ID:20111207031110 and on Chrome 17.0.963.0 dev-m

It goes from Field 1 -> Field 3 -> Location Bar in all 3 browsers.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.