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

I'm not sure the UA would "need the power to remove those elements from the top layer".
If an author adds a `position: fixed` element as a direct child of the root, with a very high `z-index`, then it kind of behaves like in the top layer, and is painted on top of other contents. The UA offers no way to remove that element, and it's fine.

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


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

Received on Friday, 21 January 2022 23:22:57 UTC