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

> The spec text should not include fullscreen, that was not part of the resolution. `:modal` only applies when the element is in a truly modal state, which fullscreen is not.

+1. As we discussed at the meeting, we need a crisp definition of "Modal". The [resolution](https://github.com/w3c/csswg-drafts/issues/6965#issuecomment-1118033655) refers (see the notes) to @chrishtr's [comment](https://github.com/w3c/csswg-drafts/issues/6965#issuecomment-1115460853) above, which defines it this way:

> a UI state that shows certain sub-parts of a UI, intentionally makes inert the rest of the UI while showing the sub-part, and requires an intentional action from the user to dismiss it. The <dialog> element when shown via showModal meets this definition; so does an alert or confirm box.

Per that definition, fullscreen doesn't meet the definition - it does not "intentionally make inert the rest of the UI".

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


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

Received on Wednesday, 25 May 2022 15:34:34 UTC