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

A reference in the HTML spec probably makes sense, but it needs to be defined as `:modal` is active when the element's `is_modal` flag is true (calling `showModal()` can fail). (And the HTML spec should probably just say 'is in the Modal State' and link to selectors-4.)

Now I'm wondering if `:active` should also apply to a dialog when it's active (i.e. several can be `:modal` but only one is `:modal:active`).

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


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

Received on Friday, 6 May 2022 03:39:28 UTC