2012-10-22 20:58, Philip TAYLOR wrote:

What is somewhat odd is that when I use the validator
to confirm that it is indeed valid, and then use the CSS link-
through to validate the CSS, it (a) validates against the CSS 3
specification (why ?),

They decided the default to CSS3 a while ago. Some tools (like the CSS validation command in Firefox Web Developer Extension) still call the validator with the level set to CSS 2.1, but using the W3C CSS Validator directly, CSS3 is the default. Before they did this, they got many complaints from people who used CSS3 features.

There is no rigorous definition for "CSS3" is this context; effectively it means CSS 2.1 + the CSS3 specs that have reached at least CR status + some other CSS3 "specs" (drafts), depending on the judgment of people who maintain the software.

and (b) validates only the stylesheet
that appears in the <HEAD> region and overlooks completely
the inline styles on which I really want it to comment :

This looks like a mystery to me, but it seems that it's just a mystery in reporting "Valid CSS". Testing with an HTML 4.01 document with <h1 style="color: red">Hello world</h1> and no other style sheets, I get a response about Valid CSS but with the message "No style sheet found". I think it still reads the style attributes and checks them, since if I use color: funnycolor instead, an error is reported.

Yucca



______________________________________________________________________
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/

Reply via email to