W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2014

Re: Custom Elements: 'data-' attributes

From: Ryosuke Niwa <rniwa@apple.com>
Date: Wed, 07 May 2014 15:07:28 -0700
Cc: Anne van Kesteren <annevk@annevk.nl>, Wilson Page <wilsonpage@me.com>, Dimitri Glazkov <dglazkov@google.com>, "public-webapps@w3c.org" <public-webapps@w3c.org>
Message-id: <B51D886A-B1E9-4FF6-AAC7-29B287D10E3C@apple.com>
To: Ian Hickson <ian@hixie.ch>
There is a difference in people not caring about forward compatibility and polluting the global namespace, and not providing a mechanism to do it right in the first place.

If we're encouraging authors to define their own attributes, then we should provide a mechanism or a guideline to do so in a forward compatible manner.

- R. Niwa

> On May 7, 2014, at 1:23 PM, Ian Hickson <ian@hixie.ch> wrote:
>> On Wed, 7 May 2014, Ryosuke Niwa wrote:
>> How are you going to quantify the risk of adding a new global attribute 
>> in the future?
> Same we we do today. Look to see how many pages use the attribute, find a 
> name that's not used much, and then try to deploy it and see what breaks.
>> I don't want us to depend on some random search engines to make a guess 
>> as to which names are safe to use.
> That's basically how we've been doing it so far.
> I mean, it's not like disallowing people from making up attributes has 
> stopped everyone from making up attributes. This is already a problem.
> -- 
> Ian Hickson               U+1047E                )\._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 7 May 2014 22:08:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:24 UTC