I agree with Toby's assessment. In addition to violating the semantic 
(presentation vs data) of the style attribute, web designers still very often 
use the style attribute for spot styling which implies/requires that the 
default styling language be CSS.

Toby your answer is very well worded and would be a good start for a 
"rejected-syntaxes" page.

http://microformats.org/wiki/rejected-syntaxes

Thanks,

Tantek

-----Original Message-----
From: Toby A Inkster <[EMAIL PROTECTED]>

Date: Sat, 27 Sep 2008 23:27:02 
To: <[email protected]>
Subject: [uf-discuss] ISO Dates and Durations using Style


> If any style sheet language can be used, why don't microformats create
> their own style language eg:
> <span class="bday" style="bday.1968-01-04">4th Jan, 1968</span>

By definition, the contents of the style attribute must be in "the  
default style sheet language". The default style sheet language is by  
definition CSS unless a Content-Style-Type header (either HTTP header  
or <meta http-equiv>) is present. There can only be one default style  
sheet language per document, thus any document which wants to use a  
non-CSS style sheet language in the style attribute cannot use CSS in  
the style attribute. (That is, you can't use CSS in some style  
attributes and non-CSS on others.)

-- 
Toby A Inkster
<mailto:[EMAIL PROTECTED]>
<http://tobyinkster.co.uk>



_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss

_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss

Reply via email to