Not referring to the CSS syntax, but rather the feature of narrowing down selection. One option would be to accept functions in MixedStyleDeclarations. See screenshot for example.