anandthakker / doiuse

:bomb: Lint CSS for browser support against caniuse database.
MIT License
1.23k stars 50 forks source link

`:where()` selector #145

Closed diatche closed 1 year ago

diatche commented 2 years ago

Not all browser versions support :where() selector. It should raise a warning for Safari 13 for example.

See caniuse.

clshortfuse commented 1 year ago

Fixed:

echo "body:where() {}" | npx doiuse
<streaming css input>:1:1: :is() CSS pseudo-class not supported by: Opera Mini (all) and only partially supported by: UC Browser for Android (13.4), QQ Browser (13.1), KaiOS Browser (2.5) (css-matches-pseudo)