Re: [csswg-drafts] Allow applying style rules to the container itself (especially with style querries) (#10744)

In your case I would expect only the parent to be selected as, currently (if I'm not wrong) `@container` sort of "scopes" the CSS declarations on the matching containers.
The thing I'm not sure about is if the child also matches the query as it inherits the custom prop from its parent.

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


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

Received on Friday, 16 August 2024 17:39:57 UTC