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

> > 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  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".

It does make inert the rest of the UI in Chromium fwiw: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/css/resolver/style_adjuster.cc;l=712-724;drc=164a13142f64c249d85e219cf745c371fc51b701

I don't have a particular preference on whether this should be the case, though I guess it does make sense.

-- 
GitHub Notification of comment by nt1m
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6965#issuecomment-1137458219 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:45:14 UTC