Open
Bug 326607
Opened 19 years ago
Updated 2 years ago
wrong selection of an item in a combobox (with a repeated value)
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
NEW
People
(Reporter: easico, Unassigned)
Details
(Keywords: testcase, Whiteboard: DUPEME)
Attachments
(2 files, 2 obsolete files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20060209 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060209 Firefox/1.6a1 Firefox is selecting the second value (when it is repeated) of the combobox, after refreshing the page Reproducible: Always Steps to Reproduce: 1. Open the html file 2. Refresh the page Actual Results: It selects the second value Expected Results: Select the first one
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Updated•19 years ago
|
Attachment #211338 -
Attachment description: Open and refresh the page → combobox
Reporter | ||
Updated•19 years ago
|
Version: unspecified → Trunk
Comment 2•19 years ago
|
||
Confirmed. Also happens in Mozilla1.7. Opera and IE6 always show the first item, also after the refresh.
Status: UNCONFIRMED → NEW
Component: General → Layout: Form Controls
Ever confirmed: true
Keywords: testcase
Product: Firefox → Core
QA Contact: general → layout.form-controls
Comment 3•18 years ago
|
||
I'm pretty sure this is a duplicate.... <select> form state restoration sucks. A lot. :(
Whiteboard: DUPEME
Comment 4•12 years ago
|
||
Reproduced using: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0 Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4 Iceweasel/10.0.4 There is another test case here: http://labs.silverorange.com/files/firefox-select-bug/
Comment 5•12 years ago
|
||
Forgot to mention that there is an additional issue in this test case (http://labs.silverorange.com/files/firefox-select-bug/). If there are two options with the same name and the second option is marked as disabled it will still become selected on refresh.
Comment 6•12 years ago
|
||
Charles, could you attach that testcase to the bug? (by using the "Add an attachment" link). That way, it doesn't get lost. Thanks.
Comment 7•12 years ago
|
||
Comment 8•12 years ago
|
||
Attachment #620268 -
Attachment is obsolete: true
Comment 9•12 years ago
|
||
Attachment #620269 -
Attachment is obsolete: true
Comment 10•12 years ago
|
||
I've tried adding the attachment three times, once selecting auto-detect the mime-type and the other two setting the mime-type to text/html. For some strange reason it is also setting the attachment's mime-type to text/plain. Perhaps someone with a higher power can update it. Sorry about that.
Updated•12 years ago
|
Attachment #620270 -
Attachment mime type: text/plain → text/html
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•