Re: [csswg-drafts] [Req] backdrop occlusion. (#14035)

I think I understand. 

I wonder if this need could be served by using the proposed [element()](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/element) selector alongside `mask` and `background-clip` (extended to accept an image perhaps). Defining the property on the *child* and having the child essentially "reach back" end erase content from its parents means you're requiring implementors to do GPU readback and replay paint/composition with arbitrary selections removed, and this could become quite expensive.

If you could just clip the parents directly based off of the geometry of the children, I think you achieve your goals without needing any more render passes.

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


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

Received on Sunday, 14 June 2026 00:57:41 UTC