WebCalm
WebCalm copied to clipboard
:has pseudo-class
Webcalm doesn't seem to support selectors like:
section:has(.featured) { }
(example taken from MDN docs) It says: no viable alternative at input 'section:has(.'
WebCalm perceives the following CSS description as erroneous.
@biglazycat63 please use a formatted code block instead of in image.
Also that has nothing to do with this issue (no ":has" pseudo-class). But.. we can't expect too much from a big lazy cat 😂
@aditsu BTW the reason of your issue is invalid CSS grammar. This project uses official ANTLR grammars. It should be fixed there first.