csstree / validator

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

Marking as invalid browser properties #28

Closed Zardoz89 closed 1 week ago

Zardoz89 commented 2 years ago

csstree validator marks browser prefix properties values as invalid :

An example :

# target/webapp-compress/css/main.css
    * Invalid value for `display` property
      syntax: [ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <-non-standard-display>
       value: -ms-flexbox
      --------^
    * Invalid value for `display` property
      syntax: [ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <-non-standard-display>
       value: -ms-flexbox

At least, should be ignored by a option of the validator.

lahmatiy commented 1 week ago

Please open an issue in CSSTree tracker if you still think it's relevant. It seems that the CSSTree dictionary is missing that keyword in the <-non-standard-display> syntax.