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

> It seems better to have a single top layer, where there are rules the UA uses to managing it. And a "developer" top layer feature that expects to sometimes get kicked out of the top layer when necessary. Yes, this is more work to implement, but I think it results in a more usable API for developers.

FYI, the approach I was alluding to here is explored much further in this OpenUI issue: https://github.com/openui/open-ui/issues/455

This proposal introduces an HTML attribute that gives elements access to top layer rendering, while still allowing the UA to "manage" the top layer appropriately. It also works just as well for popups on top of modal dialogs and fullscreen elements.

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


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

Received on Tuesday, 8 February 2022 18:17:23 UTC