[uf-discuss] ISO Dates and Durations using Style

Benjamin Hawkes-Lewis bhawkeslewis at googlemail.com
Sun Sep 28 10:38:10 PDT 2008


Martin McEvoy wrote:
> does this apply to in-line elements? 

By my reading of the proposals, yes (both in the sense of 
inline/text-level elements and elements styled "display: inline;").

> I would guess it does, I tested the 
> example in a CSS3 validator with again no errors, 

Why would you expect a validity error? Your proposed use of it is valid 
syntax but utterly incompatible with how it should work.

> I don't know if this 
> will cause any problems with browsers either as most seem to default to 
> CSS2?

It will cause problems if browser developers ever implement W3C's 
proposals. If your suggestion was widely implemented, it would make 
implementing W3C's proposals impossible. This is practically a case 
study of why only designated extension points (like class and meta and 
vendor-specific prefixes) should be used for extensions.

I'm not sure what you mean by "default to CSS2". Popular browsers do not 
branch their CSS-handling code for different CSS levels; most implement 
a mixture of features from different levels, including CSS3 proposals.

--
Benjamin Hawkes-Lewis


More information about the microformats-discuss mailing list