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

If we have an `:open` pseudo-class, it should mean that something is 'open', (and I agree that it should apply to anything that can be open, like `<details>`). This would have no relation to if it's in the top layer or not (I accept that some things may only be open in the top layer, or may get put in the top layer by virtue of being open, but they are generally orthogonal concepts).

If you want a pseudo-class that means 'in the top layer', I suggest `:overlay`.

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


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

Received on Saturday, 23 July 2022 01:00:44 UTC