Re: [csswg-drafts] Declarative dialog or styling non-modal backdrop (#10219)

> Perhaps something like `<dialog open modal />`

You will have to request HTML changes to the WHATWG, this is the CSSWG.

> it should at least be possible to style the default UA ::backdrop element when using <dialog open> without JS.

Only elements rendered in the top layer originate a `::backdrop`.

https://github.com/w3c/csswg-drafts/issues/6965 has some discussion about a CSS way to render arbitrary elements on the top layer.

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


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

Received on Thursday, 18 April 2024 22:51:32 UTC