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

Re: Custom element design with ES6 classes and Element constructors

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 14 Jan 2015 13:51:35 +0100
Message-ID: <CADnb78gmYeC4_hRaU1Zh+ZxGbPVpQV-X19ve0z-tuRtsj2QOCw@mail.gmail.com>
To: Domenic Denicola <d@domenic.me>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, "public-webapps@w3.org" <public-webapps@w3.org>
On Tue, Jan 13, 2015 at 6:50 PM, Domenic Denicola <d@domenic.me> wrote:
> Agreed. That needs to be done with <img is="my-img">, IMO.

I would really like to avoid having this is="" design. It does not
explain anything about the world today. I would rather we gave up on
subclassing normal elements (there's no normal element precedent for
that anyway).

I also agree with Yehuda that we need to explore alternatives to the
current upgrading design. It just feels like too much of a hack.
Perhaps we should support the synchronous version (invoking the custom
element constructor) and come up with something new for asynchronous
loaded definitions.

Received on Wednesday, 14 January 2015 12:51:59 UTC

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