W3C home > Mailing lists > Public > www-svg@w3.org > May 2011

Re: data-* : Custom Data Attributes

From: Doug Schepers <schepers@w3.org>
Date: Thu, 05 May 2011 17:10:49 -0400
Message-ID: <4DC31259.2040008@w3.org>
To: Ian Hickson <ian@hixie.ch>
CC: "Frost, Jon A." <frostjo@missouri.edu>, "www-svg@w3.org" <www-svg@w3.org>
Hi, Ian-

Ian Hickson wrote (on 5/5/11 2:56 PM):
> On Wed, 4 May 2011, Doug Schepers wrote:
>>  The Parameter functionality is very different from Microdata (of which @data-*
>>  attributes are part).
> The microdata features are unrelated to the data-* feature. The microdata
> attributes all start with "item" (itemprop, itemtype, itemscope, itemid,
> itemref).

Okay... seems like I conflated the two features.  Thanks.

>>  while @data- is just a way of adding metadata
> data-*="" is just a place for storing declarative data for scripts, it's
> not really for metadata.

I'd argue that data-*="" is (or can be) still a kind of metadata, but I 
agree that depends on how it's used in practice.

-Doug Schepers
W3C Team Contact, SVG, WebApps, and Web Events WGs
Received on Thursday, 5 May 2011 21:10:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:24 UTC