cssproduction-environmentproductionparse-errortext-size

Will CSS parsing errors cause problems in a production environment?


I got this error in CSS:

Error in parsing value for '-webkit-text-size-adjust'. Declaration dropped.

The only way I can get rid of it is to remove the property, which I can't do since I need it for my reset.css file.

If I push this update, will this CSS parsing error cause my site to break? I'm testing in FireFox 67 and so far nothing is breaking because of this, is this also the case for other browsers?


Solution

  • This is intrinsic to vendor identifiers (those that begin with '_' or '-'): only its product will understand them, so every other one should ignore them. In fact, CSS rules for parsing errors mandate implementers to ignore them: https://www.w3.org/TR/CSS22/syndata.html#parsing-errors