- From: 倪阔乐 / Niklas Dougherty <silikon@bredband.net>
- Date: Mon, 16 Apr 2007 22:24:58 +0800
- To: www-validator-css@w3.org
Actually, text-shadow is part of CSS 2, so it should also be part of CSS 2.1. That it is not is pure madness. The problem is that I have a referer based mechanism on my web pages, and suddenly everything changed. Now I have to add an ampersand, which is a problem in XHTML (for instance, a Safari bug prevents using quoted ampersands in URIs). Thus I now have to redirect to a separate PHP function to make it work as before without interfering with normal operation. Do whatever you want, but by changing defaults like this you are just creating problems for people. Besides, you are not given any options whatsoever when using http:// jigsaw.w3.org/css-validator/check/referer On Apr 16, 2007, at 9:28 PM, Dean Edridge wrote: > 倪阔乐 / Niklas Dougherty wrote: >> >> I get the following error message when validating my CSS files: >> >> Value Error : text-shadow Property text-shadow doesn't exist : >> black 0.2em 0.2em 0.2em >> >> The page in question is: >> >> http://jigsaw.w3.org/css-validator/validator?uri=http:// >> www.xingfu.se/blogge/ >> >> The relevant code is: >> >> h2 { >> text-shadow: black 0.2em 0.2em 0.2em; >> } >> >> This is perfectly valid CSS. >> > You're correct, it is valid CSS. But text-shadow it is part of the > CSS3 spec and by default the validator users CSS2.1. > So when validating your CSS... > Go to: http://jigsaw.w3.org/css-validator/ > -> click: more options > -> select from the Profile option: CSS version 3 > then validate your document. > > http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F% > 2Fwww.xingfu.se%2Fblogge%2F&warning=1&profile=css3&usermedium=all > > Dean Edridge
Received on Monday, 16 April 2007 14:25:15 UTC