Re: [csswg-drafts] [css-contain] Is there a use-case for querying explicit container selectors? (#6176)

RE: use cases, the main one I'm thinking of that makes me hope this gets supported is this (although really this would call for immediate parent selector, perhaps just `*` as the selector would work) - having to predefine a parent element as a container can create problems with component based development, if I want to style the component and have it react to wherever it's being used, you have to break the components concept to 'prep' the parent elements - granted this could be done with JS auto-modifying the parent, but would be nice if CSS handled this use case

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


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

Received on Thursday, 22 April 2021 09:22:05 UTC