Re: [csswg-drafts] [selectors] Add `:open` or `:top-layer` pseudo class (#7319)

> Should it be `:open`/`:closed` or should it be `:shown`/`:hidden` for symmetry with the API?

Since this is a “general purpose” pseudo class, it seems like open and closed are more generic. Also, “shown” or (particularly) “hidden” could cause confusion of the kind mentioned in [the Note](https://github.com/w3c/csswg-drafts/issues/7319#issuecomment-1242377579) with `display:none`. I.e. something can be in the “open” state but not rendered. That’s still “open”.

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


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

Received on Tuesday, 11 October 2022 14:05:42 UTC