Page MenuHomePhabricator

CodeEditor shows @counter-style as a CSS parsing error
Closed, DuplicatePublic


When @counter-style is used on a CSS page, CodeEditor shows a CSS error on that line. It allows publishing the page, but it does show a warning.

@counter-style is standard CSS. It is unsupported in WebKit (Chrome) at the moment, but it does work in Gecko (Firefox). It is useful for some languages, which need numbering style for ordered list that aren't support in predefined list-style-type values. See for more info.

If I understand correctly, this is probably an upstream issue in Ace editor and CSSLint. I tried reporting it there: .

Perhaps it can be nice to patch it locally somehow, although I'm not sure it's worth the effort or even possible.