Closed
Bug 384048
Opened 17 years ago
Closed 17 years ago
Textfield instantly looses focus on focus if placed inside a <label> and after a hidden input element
Categories
(Toolkit :: Form Manager, defect)
Toolkit
Form Manager
Tracking
()
RESOLVED
DUPLICATE
of bug 229925
People
(Reporter: brandon.kelly, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 If a hidden input element and a textfield are placed within <label> and </label>, as soon as the user clicks on the textfield to type in it, it looses focus (probably to the hidden element). Reproducible: Always Steps to Reproduce: 1. Go to provided URL 2. click on the Reciptant's Name textbox 3. type Actual Results: text does not appear in textfield (if you go fast enough you might get 1 letter in) Expected Results: text appears in textfield as usual This only happens on click. Tabbing to the textfield works as expected.
Reporter | ||
Comment 1•17 years ago
|
||
I was able to repro this on Firefox 3 Alpha 5 as well.
Comment 2•17 years ago
|
||
Hidden, unhidden, it's all the same - we treat a label that ignores where the spec says "Each label element is associated with exactly one form control" as being associated with the first form control no matter what.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•