Re: [csswg-drafts] [cssom] There should be a way to test CSSStyleRules against HTMLElements (#10470)

Seems like a valid request/use-case.

Not sure if it should become `CSSStyleRule.matchesElement(Element)` or `Element.matchesRule(CSSStyleRule)` though. There’s something to say for both.

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


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

Received on Wednesday, 19 June 2024 15:18:15 UTC