Skip to content

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

@josepharhar

Description

@josepharhar

In this issue, 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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions