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

tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors] Add :modal-dialog pseudo-class ==
HTML defines that the `<dialog>` element [has an "is modal" flag](https://html.spec.whatwg.org/#is-modal), and [uses that as a styling hook](https://html.spec.whatwg.org/#flow-content-3:is-modal). We just discussed adding some more properties to modal dialogs in the UA stylesheet, which would need to do the same.

This should just be handled as a real pseudo-class, rather than an abstract "pretend these styles were applied as if from the UA stylesheet".

@emilio @bfgeek @smfr 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6965 using your GitHub account


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

Received on Wednesday, 19 January 2022 16:45:00 UTC