W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2015

Re: Minimum viable custom elements

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 6 Feb 2015 06:20:41 +1100
Message-ID: <CAAWBYDC=2f1Fn4Mu7Hfp=4nkZKQZB9FKaPyKXJ1_MBDBk_MvzQ@mail.gmail.com>
To: Chris Bateman <chrisb808@gmail.com>
Cc: Ryosuke Niwa <rniwa@apple.com>, Brian Kardell <bkardell@gmail.com>, Alice Boxhall <aboxhall@google.com>, Anne van Kesteren <annevk@annevk.nl>, Steve Faulkner <faulkner.steve@gmail.com>, WebApps WG <public-webapps@w3.org>
On Fri, Feb 6, 2015 at 2:13 AM, Chris Bateman <chrisb808@gmail.com> wrote:
> ** Bonus issue - I didn't know this, but Chrome doesn't upgrade when you add
> the is= attribute to an element that's already been created. Ember builds up
> its templates into document fragments - so the input failed to upgrade in
> Chrome. This doesn't happen with the polyfill, however, so I got around the
> issue by forcing the polyfill to override the native
> document.registerElement.

Note that this isn't an issue in the sense of "Chrome gets it wrong" -
the spec mandates this behavior.  The is='' attribute is similar to
the tag-name, in that it determines the identity of the element, and
thus must be around at creation time.

Received on Thursday, 5 February 2015 19:21:32 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:25 UTC