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

I think this is true for basically all queries: the goal is to measure your nearest context. But style queries and query units _in particular_ expose the ways a container query is more akin to 'inheritance' than selection. The shadow DOM has always provided context for slotted elements, and containers are _explicitly designed for providing that sort of context_. If we need to make container names private to a shadow tree, or _allow_ container names to be marked as private, that feels like a separate issue to me.

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


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

Received on Wednesday, 28 February 2024 19:26:40 UTC