- From: Andrea Giammarchi <notifications@github.com>
- Date: Mon, 09 Jan 2017 03:06:58 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 9 January 2017 11:07:32 UTC
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