Blog
W3C validator does not like css3
2012 February 20 at 22:15 (10:15 PM) | categories: www | View Comments
If you use a referer url
(http://jigsaw.w3.org/css-validator/check/referer) to the w3c
validator for your css3, the validator will tell you that you have a broken css.
This is because css3 is not a finished standard (from w3c point of view) and the
validator will assume that you use css 2.1 by default. I discovered this when I
added css3
media queries to my blogs css and the validation returned errors. However
you can force the w3c validator to validate css3 by appending
?profile=css3 to the referer url like this:
http://jigsaw.w3.org/css-validator/check/referer?profile=css3