shadydom icon indicating copy to clipboard operation
shadydom copied to clipboard

Question: Support for extending Native Elements

Open ryansolid opened this issue 8 years ago • 1 comments

The polyfill's customElements.define only takes the first 2 arguments not passing through the third optional argument ({extends: 'a'} etc...). Is there any reason you wouldn't just pass the 3rd argument through to allow the polyfill to run in environments that have implemented this Spec? Even if the webcomponents custom element polyfill doesn't support it as of yet is there harm in passing it through?

ryansolid avatar Aug 25 '18 21:08 ryansolid

We're not interested right now in implementing extending elements other than HTMLElement right now. The browsers are not in agreement about implementing this feature, and forcing polyfills on the browsers without is is not a good result for end-users.

dfreedm avatar Jun 07 '19 22:06 dfreedm