[whatwg] Prevent abuse of data-*

2010/3/17 Ian Hickson <ian at hixie.ch>:
> On Mon, 22 Feb 2010, Kornel Lesi?~Dski wrote:
>>
>> I'm wondering if data-* attributes should be renamed to priv-* to make
>> it clearer that it's page's _private_ data.
>>
>> "data-" is such a nice generic prefix that I'm afraid sooner or later
>> someone will start basing microformats-like markup on that.
>
> It's not a bad idea... Unfortunately data-* is already being used quite a
> lot and has been widely advertised, so we have to be careful with this.
> Anyone else have an opinion on this?

I don't feel strongly that either name is better. Though I would not
that priv- doesn't make things much clearer since it's totally
undefined who it's private to.

/ Jonas

Received on Wednesday, 17 March 2010 17:28:01 UTC