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

To try and summarize, the current preference is two top layers, a UA top layer and a developer top layer, where the UA one is "above" the developer one. Is that right?

I'm trying to come back to the initial question for this issue: should we have a :modal-dialog pseudo-class or should we have a :top-layer pseudo-class (where the latter would refer to the UA top layer specifically).

I'm thinking about this in the context of https://github.com/w3c/csswg-drafts/issues/6939 and whether that can be solved with a UA stylesheet rule, something like

```css
/* or :modal-dialog maybe? */
:top-layer {
  visibility: visible;
}
```


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


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

Received on Monday, 11 April 2022 15:16:13 UTC