css3 - W3C CSS validation error using calc() and vendor extensions -
after finishing new html5/css3 template proceeded w3c validation.
the result html: "this document checked html5!"
the result css: "sorry! found following errors (1)"
and problem around height: calc(100vh - 80px);
it told me:
36 property -ms-transform unknown vendor extension 37 property -webkit-transform unknown vendor extension 112 property -webkit-transition unknown vendor extension 113 property -moz-transition unknown vendor extension 249 property -webkit-background-size unknown vendor extension 292 property -webkit-background-size unknown vendor extension
so in case shall 100% css3 valid?
don't worry vendor extensions. don't recall why flagged way not errors on part. don't recall reasoning it. iirc, there checkbox ignore these warnings.
the explanation may lie in this article states:
vendor-specific extensions (mostly) adhere css 2.1 grammar, since not defined in css 2.1 specification, invalid. hence css validator correct in reporting them validation errors.
Comments
Post a Comment