Re: [w3c/webcomponents] Can't reuse custom element constructors? (#618)

In a parallel universe, where extending natives different from `HTMLElement` is already possible:
```js
class CustomQuoteElement extends HTMLQuoteElement {
  /* common implementation / overrides */
}
class CustomBlockquote extends CustomQuoteElement {}
class CustomQ extends CustomQuoteElement {}

customElements.define('custom-bq', CustomBlockquote);
customElements.define('custom-q', CustomQ);
```
If that was possible, let's say like it is already through `is="" mechanism`, I don't see any ambiguity or limitation.

-- 
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/618#issuecomment-271258983

Received on Monday, 9 January 2017 11:07:32 UTC