csstree / validator

CSS validator based on CSSTree
MIT License
65 stars 14 forks source link

Content counters are not recognized as valid CSS #24

Closed bratekarate closed 2 years ago

bratekarate commented 3 years ago

content: counters(...) does not work for me (csstree-validator v.1.6.0).

Example code:

.some-class {
  content: counters(list-counter, ".") "."
}

Output:

Mismatch
  syntax: normal | none | [ <content-replacement> | <content-list> ] [ / <string> ]?
   value: counters(list-counter,".") "."
lahmatiy commented 2 years ago

Fixed in 3.0.0