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

[whatwg] Prevent abuse of data-*

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 18 Mar 2010 00:03:33 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1003180001310.13402@ps20323.dreamhostps.com>
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?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 17 March 2010 17:03:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:55 GMT