W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2010

[whatwg] Prevent abuse of data-*

From: Simon Pieters <simonp@opera.com>
Date: Thu, 18 Mar 2010 10:52:01 +0100
Message-ID: <op.u9rcczwaidj3kv@zcorpandell.linkoping.osa>
On Thu, 18 Mar 2010 01:03:33 +0100, Ian Hickson <ian at hixie.ch> wrote:

> 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 think we should keep data- as is. People have started to use it, we  
would waste their time by renaming it.

Simon Pieters
Opera Software
Received on Thursday, 18 March 2010 02:52:01 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:21 UTC