[uf-dev] Using class for non-human data
Sarven Capadisli
csarven at gmail.com
Mon Jun 23 08:57:33 PDT 2008
Earlier this year, Andy Mabbett proposed a clear use of the "data" prefix here:
http://microformats.org/discuss/mail/microformats-discuss/2008-February/011583.html
Doesn't conflict with styling.
-Sarven
On Mon, Jun 23, 2008 at 10:42 AM, Frances Berriman <fberriman at gmail.com> wrote:
> On 23/06/2008, Glenn Jones <glenn.jones at madgex.com> wrote:
>
>> The following may of been easier for authors to understand?
>>
>> <span class="dtstart{2005-10-10T10:10:10-0100}">10 o'clock</span></span>
>>
>> The use of {} for data is becoming more popular with OpenSearch etc. It
>> directly links the property and value.
>
> Merging it like that wouldn't be ideal for styling (we did toy with
> the idea of dstart-2005-10-10T10:10:10-0100, for example).
>
> The data- prefix would make the same data available to more than one
> attribute too - rather than having to repeat the same data more than
> once if it happens to be in the same element.
>
> I'm not sure if it's really easier to understand, to be honest.
>
>
>
> --
> Frances Berriman
> http://fberriman.com
> _______________________________________________
> microformats-dev mailing list
> microformats-dev at microformats.org
> http://microformats.org/mailman/listinfo/microformats-dev
>
More information about the microformats-dev
mailing list