Closed
Bug 306105
Opened 19 years ago
Closed 19 years ago
Crash if the first <option> element in a <select> has "display:none"
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 302356
People
(Reporter: sergiu, Unassigned)
References
()
Details
(Keywords: crash)
Attachments
(1 file)
720 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+ If the first <option> element has "display: none", when expanding the combobox and moving the mouse over the dropdown list the browser crashes. I noticed this in Deerpark Alpha 2. Firefox 1.0.6 works fine. Reproducible: Always Steps to Reproduce: 1. <select id="chwChartSubtypeInput" name="chwChartSubtypeInput"> <optgroup label="Bar subtype"> <option style="display: none">A</option> <option>B</option> </optgroup> <optgroup label="subtype"> <option>C</option> <option>D</option> </optgroup> <optgroup label="subtype2"> <option selected="selected">E</option> <option>F</option> </optgroup> </select> 2. Expand the combobox 3. Move the mouse down over the dropdown list 4. Expect a crash Actual Results: The browser crashes Expected Results: The first visible option is selected
Reporter | ||
Comment 1•19 years ago
|
||
The crash occurs only when there are <optgroup> elements also. Leaving only <option> elements works fine.
Comment 2•19 years ago
|
||
Please provide a talkback ID for the crash. http://kb.mozillazine.org/Talkback
Comment 3•19 years ago
|
||
crashed for me on OS/2 Deer Park 2
Comment 4•19 years ago
|
||
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20050827 Firefox/1.6a1 ID:2005082708 WFM.
Comment 6•19 years ago
|
||
I'm pretty sure this is the same as bug 302356 for which the fix was checked in on 2005-08-07. *** This bug has been marked as a duplicate of 302356 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•