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.

So, it `matches` will give you the information whether the container query matches a query container at the time of execution. It doesn't tell you whether it matches against a specific element or _which_ query container it matches.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4240#issuecomment-1199801196 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 17:50:57 UTC