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

What about using the more generic `:modal` instead of `:modal-dialog`? It seems a bit redundant, as the element already is `<dialog>`. Above that it would leave the door open to future elements – other than `<dialog>` – to also have an "is modal" flag, without making the used pseudo-class feel out of place when they do.

-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6965#issuecomment-1110962735 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 12:51:37 UTC