From: Brendan Eich <[email protected]>

> This all looks at the past, where the DOM is warty as hell (I can say that, I 
> started it). What about the future?

Much the same, from what I understand. The parser needs to be able to create 
elements, including custom elements, without knowing what their constructor 
signature is. As specced [1], registering the element will set its @@create 
value to something that creates the element in this way, and presumably the 
parser will be updated to invoke @@create. (This is the same as how, in ES5, 
the parser invokes the `createdCallback` property passed to `registerElement`.)

Dmitri, did I get that right?

[1]: https://w3c.github.io/webcomponents/spec/custom/#es6
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to