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

I cannot test properly my theory (the `@container` sort of "scoping" the css declaration to the container directly matching the querry) but, in my opinion, `:container` should only match the containers that directly match the query.
Thus, it should select only the parent in your example (at least, that's what I would find the most logical)

-- 
GitHub Notification of comment by LcsGa
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10744#issuecomment-2293933409 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 18:03:20 UTC