Re: [webcomponents] Inheritance in Custom Elements (Was Proposal for Cross Origin Use Case and Declarative Syntax)

On 12/10/13 10:34 AM, Anne van Kesteren wrote:
> E.g. the <dialog>'s close() method won't work as defined
> right now on a subclass of HTMLDialogElement.

Why not?

I assumed that actual ES6 subclassing, complete with invoking the right 
superclass @@create, would in fact produce an object for which this 
would work correctly.  At least any situation that doesn't lead to that 
is a UA/spec bug.

-Boris

Received on Tuesday, 10 December 2013 15:54:55 UTC