Open jugglinmike opened 5 years ago
I've learned via discussion in IRC that the effect of styling <optgroup>
and <option>
elements is currently undefined. Although there is interest in nailing that down, we won't be able to make progress on this particular issue until that's done.
It might be appropriate to close this issue, though keeping it open could help to communicate intent and host additional discussion. I'll leave the decision to the editors.
We should keep this open as it's part of defining the rendering model (or explicit lack thereof) of these elements.
cc @zcorpan
The rendering guidelines for
<select>
elements has this to say about its "labels":This is somewhat limited, likely because the widget's default appearance is informed by the platform, so not all rendering details can be specified. However, there are some properties which seem uncontroversial to specify, and doing so may meaningfully improve consistency between and within browsers.
For instance, the effect of
text-transform
varies greatly when applied to<select>
,<optgroup>
, and<option>
elements:<select style="text-transform: uppercase;">
:<optgroup style="text-transform: uppercase;">
:<option style="text-transform: uppercase;">
:Setting
-webkit-appearance: none
does not influence any of these results.Would the editors accept additional language to standardize this attribute? Are there any others which seem appropriate to nail down?