Re: [csswg-drafts] [css-contain] CQ vs shadow boundaries (#5984)

> However, we do not want a ::part() to be able to see an ancestor within the targeted shadow (it violates shadow encapsulation).

Possibly stupid question: why is this worse than e.g. `host::part(thing) { background-color: var(--defined-in-shadow-tree); }`?

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


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

Received on Thursday, 11 November 2021 11:12:25 UTC