Re: [csswg-drafts] [selectors] Add :modal-dialog pseudo-class (#6965)

> > Having said that, I don't see why there can't be a `:top-layer` pseudo
> 
> I think the hard part is something like
> 
> ```
> div { top-layer: yes }
> div:top-layer { top-layer: no }
> ```

Precisely. You can't control access to the top layer via CSS, for this and other reasons, but I don't see why you can't select based on it.

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


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

Received on Thursday, 20 January 2022 04:51:30 UTC