Incorrect focus handling on dynamically displayed fields

UNCONFIRMED
Unassigned

Status

()

UNCONFIRMED
7 years ago
7 years ago

People

(Reporter: h.ketan, Unassigned)

Tracking

3.6 Branch
x86
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
Created attachment 579717 [details]
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

Updated

7 years ago
Attachment #579717 - Attachment mime type: text/plain → text/html

Comment 1

7 years ago
I get the same results in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.24) 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.
You need to log in before you can comment on or make changes to this bug.