Select with only option with display none doesn't show drop down
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | wontfix |
firefox64 | --- | unaffected |
firefox65 | --- | unaffected |
firefox66 | --- | unaffected |
People
(Reporter: kamal.deka, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Steps to reproduce:
With a fresh in install of fresh version 60.4.0ESR 64bit on windows 10 and run in safe mode. Now view https://jsfiddle.net/tzxa14gf/
HTML
<select id="dropdown2">
<option style="display:none">Select options</option>
</select>
Basically when the select have only one option with style display as none it renders the element incorrectly.
Once one adds more options under select then it renders the element correctly.
<select id="dropdown2">
<option style="display:none">Select options</option>
<option>Option 1</option>
</select>
Actual results:
The element doesn't show any dropdown icon.
Expected results:
the element should show a dropdown icon and the text.
Comment 1•6 years ago
|
||
Hi,
I've managed to reproduce this issue on Windows 10 and Mac OS 10.14 using Firefox 60.4.0 ESR.
I will add a component so that the developers can take a look at it.
Thank you for reporting!
Comment 2•6 years ago
|
||
This works fine on Nightly and release because it was fixed in bug 1499578.
Mats, I don't know if it's worth uplifting to ESR. That fix on isolation is easy enough I guess, not sure about the rest of the select patches that landed around that time. Your call I guess? I don't know how far are we from a new ESR...
Updated•5 years ago
|
Description
•