CSSRule.matches(element) or element.matchCSSRule(CSSRule) since with nesting, layer, container and scope, element.matches(selector) and window.matchMedia are wholly insufficient. We’re getting element.matchContainer but that’s not enough.
CSSOM functions to get specific values from different types of combinatory properties (like box-shadow or font) would be greatly appreciated, eg CSSBoxShadow.get(‘color’) or whatever.