Icons in <option> of <select> are only visible after selection
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: nawfal.elkhaznagi, Unassigned)
Details
(Keywords: parity-chrome, parity-edge)
Attachments
(1 file)
7.13 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
Firefox for Android
Steps to reproduce:
put icons "fontawesome" in option tag of select.
<div class="select-box">
<select name="sample" id="sample" class="fa">
<option value="">----</option>
<option value="fa fa-address-card" class="fa"> address card</option>
<option value="fa fa-bell" class="fa"> bell</option>
<option value="fa fa-bookmark" class="fa"> bookmark</option>
<option value="fa fa-building" class="fa"> building</option>
</select>
</div>
https://codepen.io/mstanka/pen/mdPBdMa
Actual results:
the icons are only displayed when the option is selected.
Expected results:
the icons should be displayed as is wether they are selected or not.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Selection' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
This doesn't work in any browser in macOS either, afaict.
Description
•