User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:126.96.36.199) Gecko/20070713 Firefox/188.8.131.52 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:184.108.40.206) Gecko/20070713 Firefox/220.127.116.11 A text input box whose onblur handler destroys the input causes unexpected behavior in Firefox. Let's say you have two input boxes, input1 and input2, and input1.blur() destroys input1. If you click on input1, then click on input2, input2 does not gain focus. Also, you cannot tab from input1 to input2. Strangely, if you click on input1 then click and drag on the text in input2 to highlight it, you can, although input2 will not gain focus. In fact, if input1.blur() recreates input1, you can do this multiple times and highlight disjointed bits of text in multiple input boxes at the same time. Reproducible: Always Steps to Reproduce: tabbing: 1. Load the attached html in Firefox. 2. Hold down the tab button. clicking: 1. Load the attached html in Firefox. 2. Click on the first input box. 3. Click and drag over some of the text in a different input box to highlight some of the characters. 4. Click on the first input box again. 4. Highlight some text in a different input box. Actual Results: tabbing: The first input box repeatedly gains focus and the other input boxes never gain focus. clicking: The other input boxes do not gain focus when you click on them and the text you highlighted remains highlighted even as you highlight other text in the document. Expected Results: tabbing: The input boxes should gain focus in the order that they appeared on the page. clicking: Clicking on the other input boxes should give them focus the first time you click them, and the text should not remain highlighted when you highlight other text in the document.
Can you reproduce this in a trunk build? http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ I'd recommend testing with a new profile. http://kb.mozillazine.org/Profile_Manager
Version: unspecified → 2.0 Branch
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME http://www.mozilla.com http://support.mozilla.com/kb/Managing+profiles http://support.mozilla.com/kb/Safe+mode
This does work as expected in Firefox 3.6.3.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.