css - CSS3 box-shadow property doesn't validate? -



css - CSS3 box-shadow property doesn't validate? -

when run css through w3c's validator, time utilize box-shadow property, error this:

0 not box-shadow value : 0 0 10px #000

it appears stop @ whatever first value is, since changing order of values alter error match:

#000 not box-shadow value : #000 0 0 10px

i'm validating profile set css3, it's not case of me forgetting alter default profile setting css2 (where box-shadow property doesn't exist).

why doesn't think of values i'm using correct? shadow render fine in firefox , other browser supports non-prefixed box-shadow property.

it's a known validator bug. apparently forgot unitless values permitted (especially unitless 0 values). there's nil wrong css; values you're using correct.

if you're picky , can't set bug tarnishing otherwise would-have-been successful validation, can add together units 0 values:

box-shadow: 0px 0px 10px #000;

but whenever run situations this, don't bother, knowing it's harmless validator bug , not wrong css.

note of update bug has been fixed since august 30, 2012.

css w3c-validation css3

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -