W3C home > Mailing lists > Public > www-validator-css@w3.org > September 2007

Re: Validator: #autoXML196424196424 - what? :-)

From: Karl Dubost <karl@w3.org>
Date: Thu, 27 Sep 2007 18:38:34 +0900
Message-Id: <359C3149-7D85-4404-9103-E809A63144A8@w3.org>
Cc: olivier Thereaux <ot@w3.org>, www-validator-css@w3.org
To: Philip TAYLOR <Philip-and-LeKhanh@Royal-Tunbridge-Wells.Org>



Philip TAYLOR (27 sept. 2007 - 17:12) :
> http://royal-tunbridge-wells.org/
>
> uses only inline styles, and rather than validating these
> using auto-generated autoXML... IDs, instead the validator
> says
> No style sheet found
> An error ?

No.
HTML has been designed orthogonally with regards to CSS, which means  
that style attributes can, in theory, have any kind of style  
language. We could implement a user agent which understand :  
"supahstyle" + html


     The syntax of the value of the style attribute is
     determined by the default style sheet language.
     -- Style Sheets in HTML documents
     http://www.w3.org/TR/html4/present/styles.html#adef-style
     Fri, 24 Dec 1999 23:25:49 GMT

Then

     14.2.1 Setting the default style sheet language
     Authors must specify the style sheet language of
     style information associated with an HTML
     document.
     Authors should use the META element to set the
     default style sheet language for a document. For
     example, to set the default to CSS, authors
     should put the following declaration in the HEAD
     of their documents:

     <META http-equiv="Content-Style-Type" content="text/css">

     -- Style Sheets in HTML documents
     http://www.w3.org/TR/html4/present/styles.html#default-style
     Fri, 24 Dec 1999 23:25:49 GMT



-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***
Received on Thursday, 27 September 2007 09:38:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:19 GMT