You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the report! Now I see the origin of the issue and able to reproduce it.
I found that this is a bug in CSSTree's parser when parseValue option is set to false (it set to false in csstree-validator to speed up parsing since it not needed for a detailed AST for values). In this case !important is included into a value but must not. I will address a fix for this ASAP. The status can be tracked in csstree/csstree#155 (original report about the problem). But this issue is also useful since the bug affects csstree-validator and will indicate when fix will come into csstree-validator.
Related to csstree/csstree/issues/155
Should we be using
matchDeclaration()
instead ofmatchProperty()
?The text was updated successfully, but these errors were encountered: