Closed
Bug 626156
Opened 13 years ago
Closed 13 years ago
Programmatically setting focus on input element on blur makes the address bar and search box impossible to bring focus to.
Categories
(Core :: DOM: Events, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 125282
People
(Reporter: seddon.ryan, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729) Setting focus to a focusable element on blur event of the element using a setTimeout call stops the user from being able to click in the address bar and search box. Reproducible: Always Steps to Reproduce: 1. Open the test case http://www.thecssninja.com/demo/stealing_focus/ in FF3.6 or below. 2. Try to click in the address bar or search box Actual Results: The address bar and search box will not keep focus as the blur event fires and re-focuses back on the element in question. Expected Results: In all other browsers, including FF4, the blur event never gets fired as the address bar or search box isn't part of the document. This can be done on any number of natrually focusable elements such as a form field and anchor element or any element with the tabindex attribute set. Just doing focus on blur without the setTimeout will not stop the user from bring focus to the address bar or search box. The setTimeout executes after 0 ms and will cause the bug.
Comment 1•13 years ago
|
||
FF3.X gets only regression and security fixes. Please search before filing a bug, especially if you know that it got already fixed in newer versions
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•