[uf-discuss] ISO Dates and Durations using Style

Martin McEvoy martin at weborganics.co.uk
Sun Sep 28 10:18:16 PDT 2008


Hello Benjamin

Benjamin Hawkes-Lewis wrote:
> Martin McEvoy wrote:
>> I hadn't thought of that something like this maybe...
>>
>> <span class="bday" style="content:'1968-01-04';">4th Jan, 1968</span>
>>
>> It doesn't produce any errors with the validator, but is it still a 
>> "hack"
>
> Worse still, it would conflict with how the CSS3 Generated and 
> Replaced Content Module Working Draft proposes browsers apply 
> "content" to elements (namely, by replacing their actual content in 
> the rendering):

does this apply to in-line elements? I would guess it does, I tested the 
example in a CSS3 validator with again no errors, I don't know if this 
will cause any problems with browsers either as most seem to default to 
CSS2?

Best wishes

Martin McEvoy
>
> http://www.w3.org/TR/2003/WD-css3-content-20030514/#inserting3
>
> -- 
> Benjamin Hawkes-Lewis
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss



More information about the microformats-discuss mailing list