Re: [csswg-drafts] [selectors] Add pseudo-classes for `<select>` being a drop-down box vs a list box (#7422)

I still feel like this would be an incredibly useful addition, especially when some browsers now render different attribute combos in different modes. I don't personally think a CSS way to control this is desirable, and I think the picker embedded in page cases can be solved via a HTML attribute or something.

The issue of cycles does somewhat still stand. Especially (for example) if Safari has `<select multiple size="1">` render one way in appearance auto and another in appearance base.

But we already have situations where appearance can change in a selector with no effect. The below would potentially even cause cycles if it did work (the checkbox would collpase to 0width and hover would no longer apply). So is this a solved problem?

```
<input type=checkbox>
<style>
input:hover {
    appearance: none;
}
</style>
```

-- 
GitHub Notification of comment by lukewarlow
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7422#issuecomment-3805212513 using your GitHub account


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

Received on Tuesday, 27 January 2026 13:25:56 UTC