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

It’s not explicitly forbidden in the spec [just yet](https://github.com/w3c/csswg-drafts/issues/7463), but if `:has()` were to accept the `::backdrop` pseudo, `:open` would make sense

- `:open` = open elements
- `:open:has(::backdrop)` = open elements that have a backdrop, i.e. in the top-layer

Or are there top layered elements that do not have a backdrop? `:fullscreen` is the only one I can think of?

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


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

Received on Tuesday, 26 July 2022 08:43:40 UTC