W3C home > Mailing lists > Public > www-validator-css@w3.org > March 2012

Re: Can't validate my file correctly!

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Tue, 13 Mar 2012 14:39:43 +0200
Message-ID: <4F5F400F.5060101@cs.tut.fi>
To: Secondhand Skellefteċ <secundhand@skelleftea.pingst.se>
CC: www-validator-css@w3.org, owe.arneholt@gmail.com
2012-03-12 15:32, Secondhand Skellefteċ wrote:

> Try to validate http://www.pksecondhand/galleri_1_300_4.css

The domain name is missing; the correct address appears to be in the .se 
domain, e.g.

> What it reports doesn't make sense to me !

Most of the W3C CSS Validator messages about it are related to the use 
of browser-specific prefixes such as -moz- and -webkit-. Such 
properties, though useful to get better browser coverage at present, do 
not conform to CSS 3 syntax. You can remove such messages from the set 
of error messages, turning them to warnings, by selecting "Vendor 
Extensions: Warnings", in the validator's user interface.

This would leave the messages about transition-property and 
transition-duration, which apparently aren't known to the validator, 
despite being part of the CSS Transitions draft 
http://www.w3.org/TR/css3-transitions (possibly because that draft does 
not seem to be making progress: the current version is from 2009). So if 
you wish to check that your use of those properties conforms to the 
draft, I'm afraid you need to do that manually.

Finally, there's the message
0 is not a box-shadow value : 0 0 15px 2px #000
about line 106. The validator seems to be too picky: it wants the color 
to appear first, and as a color name, so that
box-shadow: black 0 0 15px 2px
passes. I don't know why the validator applies a syntax much more 
limited than that in the CSS Backgrounds and Borders draft 

Received on Tuesday, 13 March 2012 12:40:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:48 UTC