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

> I'm open to a :modal-dialog pseudo class (all 3 browsers have it implemented in some fashion internally), but I personally don't see the appeal given the `[open]` selector that can be used. It's uncommon for developers to use the same dialog in both a modal and non-modal fashion.

Ok. What I'm proposing is a generalized version of `:modal-dialog`. If exposing the name `top-layer` to CSS is too general, we could alternatively expose `:modal-dialog`, `:popup` etc, similar to how we already have `:fullscreen`.

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


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

Received on Friday, 15 April 2022 14:45:22 UTC