Closed Bug 531820 Opened 15 years ago Closed 15 years ago

Drop down with disabled item can return wrong value

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 451200

People

(Reporter: colin, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 A drop down selector with the first item disabled and two further non-disabled items can return the value of one of the non-disabled items even if it isn't selected by the user. Reproducible: Always Steps to Reproduce: 1. Create a fom with a drop-down with 3 items, the first disabled. 2. Browse to the form in FireFox. The disabled item will show in the drop-down. Click to open, then hover around over the items, but do not select any of them. Then click away to close the drop-down which will still show the disabled item. 3.Click on whatever button posts the form. Instead of returning the value of the disabled item, it will return the value of the last non-disabled item that you hovered over. Actual Results: The value of the last non-disabled item that was hovered over will be returned. Expected Results: The value of the disabled item should be returned.
Component: General → Layout: Form Controls
QA Contact: general → layout.form-controls
Pretty sure there are existing bugs on this.
Whiteboard: DUPEME
1. Create a fom with a drop-down with 3 items, the first disabled. 2. Browse to the form in FireFox. The disabled item will show in the drop-down. ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^ Please attach a testcase that demonstrates that. Thanks.
@Boris - I am not 100% but looks like Bug 451200 is the duplicate you might be thinking of.
Yeah, that looks right. I'd like to see Colin's response to comment 2 before dupping, though.
Yes, this is a duplicate of 451200. Didn't find that first time I looked.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.