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

Re: Custom Elements: 'data-' attributes

From: Bruce Lawson <brucel@opera.com>
Date: Thu, 8 May 2014 08:10:15 +0100
Message-ID: <CAAFGRecr6j9SEd5xNdQCCAP+S6df+hxP+n0_GNUMo0s82UO_bg@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: Anne van Kesteren <annevk@annevk.nl>, Wilson Page <wilsonpage@me.com>, Dimitri Glazkov <dglazkov@google.com>, public-webapps@w3c.org
On 7 May 2014 20:03, Ian Hickson <ian@hixie.ch> wrote:

> Requiring a dash is pretty ugly. I would allow any attribute, and we'll
> just have to be careful when introducing new global ones.

I think the ship HMS Ugly has already sailed, given a dash is
compulsory for the names of custom elements. Also, requiring a dash in
the names of custom attributes would establish an easily-memorable
convention for authors, and safeguard new global attributes.

Received on Thursday, 8 May 2014 07:10:43 UTC

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