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

Re: Custom Elements: 'data-' attributes

From: Anne van Kesteren <annevk@annevk.nl>
Date: Mon, 12 May 2014 11:00:20 +0200
Message-ID: <CADnb78hg08JfhGzD_UB-X9L_6B93QFKpCCuu2A7KR9A3xdzb=w@mail.gmail.com>
To: Ryosuke Niwa <rniwa@apple.com>
Cc: Brian Kardell <bkardell@gmail.com>, Glenn Maynard <glenn@zewt.org>, Ian Hickson <ian@hixie.ch>, Wilson Page <wilsonpage@me.com>, Dimitri Glazkov <dglazkov@google.com>, "public-webapps@w3c.org" <public-webapps@w3c.org>
On Fri, May 9, 2014 at 12:56 PM, Ryosuke Niwa <rniwa@apple.com> wrote:
> On the other hand, if the same element had exposed contentEditable property, then UA's native contentEditable property would simply be overridden since it would appear higher up in the prototype chain.  It's true that this custom element's contentEditable would have completely different semantics from that on other elements but that wouldn't break websites that use this custom element as long as authors are only accessing contentEditable property on instances of the custom element for semantics C.

I forgot the exact details, but we had some amount of trouble when we
introduced min and max attributes due to sites using expandos with the
same names.

I think we need something better than encouraging certain conventions
if we want this to work.


-- 
http://annevankesteren.nl/
Received on Monday, 12 May 2014 09:00:48 UTC

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