[csswg-drafts] [css-ui] Pseudo-elements for checkmark and dropdown icon for appearance:base `<select>` (#10908)

josepharhar has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-ui] Pseudo-elements for checkmark and dropdown icon for appearance:base `<select>` ==
In [this issue](https://github.com/w3c/csswg-drafts/issues/10857), I proposed putting `option::before` in the UA stylesheet to create checkmarks and `select::after` to create a dropdown icon.

It was suggested that we could create new pseudo-elements for these instead like `::check` and `::select-arrow`.

I used ::before and ::after because it was simpler than creating new pseudo-elements. If we do create new pseudo-elements, then we need to at least make sure that its easy for authors to completely disable their rendering - which can be done with the ::before/::after solution by putting display:none on them.

(not sure if css-ui is the right spec for this, but maybe that depends on what solution we choose)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10908 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 17 September 2024 17:31:45 UTC