On Jan 1, 2011, at 9:19 AM, Colin (Sandy) Pittendrigh wrote:
> I put some experimental text-shadow codes in a css file that *seems* to work
> as intended in
> Firefox, Chrome and IE8. Not sure about IE7 just yet.
IE 8 and older do _not_ support the text-shadow property (and IE 9b doesn't
support it either, afaik).
> .bshadow
> {
> color: white;
> text-shadow: #222222 1px 1px 0px;
> }
>
> So, although the browsers seem to honor it, the w3c validator
> complains: Property text-shadow doesn't exist in CSS level 2.1 but exists in
> : #ffffff 1px 1px 0 #ffffff 1px 1px 0 #ffffff 1px 1px 0 #ffffff 1px 1px 0
>
> I'm not sure what the issues are here.
The validator is correct: the text-shadow property is part of the CSS 3 text
module (not CSS 2.1)
http://www.w3.org/TR/css3-text/#text-shadow
When you validate you stylesheet, you have to choose the correct css level,
under options.
http://jigsaw.w3.org/css-validator/#validate_by_uri+with_options
The rest of the error output is a bug in the validator, see the recent thread
'W3C CSS Validation Service'
Philippe
---
Philippe Wittenbergh
http://l-c-n.com/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/