Re: [csswg-drafts] [css-conditional] Make CSSSupportsRule expose whether its condition is met (#4240)

> As [mentioned in my comment there](https://github.com/w3c/csswg-drafts/issues/7033#issuecomment-1149561330). The `CSSContainerRule` would have two attributes reflecting the name and the query. Using those, `matches` can be a getter there as well.

Can you elaborate how that would work? Given a name + query pair you can't get an element, since container names are not guaranteed to be unique, which container you choose depends on which element are you styling.

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


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

Received on Friday, 29 July 2022 18:44:01 UTC