[whatwg] Prevent abuse of data-*

Ian Hickson ian at hixie.ch
Wed Mar 17 17:03:33 PDT 2010


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.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list