Re: Defining a constructor for Element and friends

On Wed, Jan 7, 2015 at 2:32 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> If you mean not having the internal slots HTMLAnchorElement has, then that
> would involve a good bit of both specification and implementation work.

That is what I meant. Otherwise in order to support new Element()
you'd have to support an ever growing set of more specific objects as
well and layering is out of the window.

However, that does indeed seem like a lot of work and it's not clear
whether that actually pays off in the end :-(


-- 
https://annevankesteren.nl/

Received on Wednesday, 7 January 2015 14:51:52 UTC