Re: ES6 and upgrading custom elements

On Tue, Jan 6, 2015 at 7:06 PM, Dimitri Glazkov <dglazkov@google.com> wrote:
> Yes to the first question. I wasn't planning on doing anything different
> there.

It seems simple prototype munging but not actually changing identity
will fail for all but the basic cases of subclassing. E.g. if I
subclass an HTMLInputElement I would expect it to have an internal
[[value]] slot of sorts, but since the element created is a plain
HTMLElement whose prototype is munged that will not be the case.


-- 
https://annevankesteren.nl/

Received on Tuesday, 6 January 2015 18:38:59 UTC