[uf-discuss] ISO Dates and Durations using Style

Tantek Celik tantek at cs.stanford.edu
Sat Sep 27 15:55:33 PDT 2008


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 <mail at tobyinkster.co.uk>
Date: 2008年9月27日 23:27:02 
To: <microformats-discuss at microformats.org>
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:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>
_______________________________________________
microformats-discuss mailing list
microformats-discuss at microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss


More information about the microformats-discuss mailing list

AltStyle によって変換されたページ (->オリジナル) /