- From: Andrea Giammarchi <notifications@github.com>
- Date: Tue, 06 Dec 2016 09:04:52 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Tuesday, 6 December 2016 17:12:35 UTC
@oleersoy maybe you haven't realized that this basic case breaks already: ```js class MyButton extends HTMLButtonElement {} new MyButton(); ``` When we say _native extends matters_ we mean also the basic ability to extend native functionality inheriting from them. At this stage only `HTMLElement` is subclassable, everything else is plain broken. It's like being able to extend `Object` but not `Array` ... if you are happy with that, I am happy for you ... but logically speaking, nobody should be happy about such weirdo-breaking situation. -- 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/509#issuecomment-265207875
Received on Tuesday, 6 December 2016 17:12:35 UTC