Re: [csswg-drafts] [cssom] Implement CSSStyleRule.p.matches (#3670)

My guess is that the intent of this isn't to find out if an element *could theoretically* match some rule, but rather to see if it *actually does, at this moment,* match the rule.

So all the weird conditions that would cause the element to not be styled by the stylesheet, or the rule in particular, would all cause the function to return false.

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

Received on Monday, 25 February 2019 14:53:23 UTC