Re: [webcomponents] ES5 consideration for custom elements (#423)

@domenic Mentioning that reason would be clearer about what is being implied

> For now, the HTMLElement constructor cannot be invoked directly as the corresponding tag name that would be used is not well specified.

@rniwa I think it would be appreciated if a reference to calling the HTMLElement constructor via either super() or Reflect.construct was included.

> The HTMLElement constructor can only be called from inside a custom element constructor, for example via invoking super() or using Reflect.construct

Either that or just loosening the language a bit

> The HTMLElement constructor can only be called from inside a custom element constructor, for example via an invocation of super()


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/423#issuecomment-200085497

Received on Tuesday, 22 March 2016 23:58:32 UTC