On Wed, Jul 1, 2015 at 2:50 PM, Domenic Denicola <[email protected]> wrote:
> I.e., do you see any plausible world in which you're allowed to create a 
> custom element with a custom allocator, instead of the browser-supplied 
> HTMLElement one?

I'm not sure I follow. In a world where custom elements are normal
subclassed objects, they would just call super() from the constructor
to set the browser-supplied bits and then add whatever else is needed
themselves. Or are you saying that super() would fully allocate the
object and prevent adding new private state (or other features tied to
constructors)?


-- 
https://annevankesteren.nl/
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to