Skip to content

Should appearance: base select button have both all: unset and display: contents ? #12121

@nt1m

Description

@nt1m

What is the issue with the HTML Standard?

@josepharhar @annevk @fantasai @whatwg/css @whatwg/forms

appearance: base select currently has:

select > button:first-child {
  all: unset;
  display: contents;
}

all: unset doesn't really do much when display: contents is applied rendering-wise. It only start coming into effect when you override display: contents

It's rather an expensive property to apply, though I'm not opposed to keeping it if there's some developer benefit

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