Open Bug 1392187 Opened 2 years ago Updated 2 years ago

Allow CSS background properties in <option> elements in drop-down selects

Categories

(Core :: Layout: Form Controls, enhancement, P3)

56 Branch
enhancement

Tracking

()

Tracking Status
firefox57 --- wontfix
firefox58 --- wontfix
firefox59 --- ?

People

(Reporter: sebo, Unassigned)

References

()

Details

Currently only certain properties apply to <option> elements. And even some of those only apply to multi-selects.

Those properties include the background-* properties. While e.g. background-image applies to <option> elements inside <select multiple> elements, they don't apply to drop-down selects, which makes them inconsistent.

Therefore they should also apply to <select> elements without "multiple" attribute.

Test case:
https://jsfiddle.net/53rb5bLt/

Sebastian
If easy enough, this bug may not be restricted to background-* properties but also include all the other properties supported in multi-select elements.

Sebastian
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.