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

> In https://drafts.csswg.org/indexes/ I see several "no-" but no "without-", so the former seems more CSS-y and is also shorter.

Looking at that list, I see that these `no-` properties/values are (mostly) prefixed version of other ones that do not have a prefix. For example `no-clip` is the antonym of `clip`; not `has-clip` or `with-clip`.

Working my way back from the suggested `select-no-dropdown`, it should go hand in hand with `select-dropdown` then?

If `select-dropdown` does not make sense, and we do want to keep `select-with-dropdown`, its antonym – in similar fashion as `clip`/`no-clip` – should then become `select-no-with-dropdown`? From a linguistic POV the latter doesn’t make sense at all, and it would become `select-without-dropdown`.

tl;dr If we have `select-with-dropdown`, `select-without-dropdown` seems like a better opposite to me.

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


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

Received on Tuesday, 23 August 2022 07:22:23 UTC