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

So I mentioned in the call that `:top-layer` and `:modal` wouldn't be quite equivalent for `<dialog>`, but turns out they are because you can't `requestFullscreen()` a dialog element (https://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen has a check for that, it probably needs one for popups in the future, @mfreed7).

So `:top-layer` would also do for the UA sheet purposes.

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


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

Received on Wednesday, 27 April 2022 17:05:21 UTC