Re: [csswg-drafts] [css-pseudo] Define ::backdrop (#7845)

How about removing the display magic only on the top layer, and thereby adding a potential third background pseudo-element for each element? Proposal:

* the `normal` value of the `content` property on `::backdrop` evaluates to `none` for elements not in the top layer, and to the empty string otherwise;

* an important declaration in the user agent layer sets `display` to `block` and `z-index` to `calc(-infinity)`.

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


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

Received on Thursday, 8 June 2023 04:38:54 UTC