You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 20, 2019. It is now read-only.
I saw today that custom elements created with webcomponents.js have a constructor property of HTMLUnknownElementConstructor in Safari and HTMLUnknownElement in IE.
Is this an unavoidable side-effect of the polyfill? I would expect it to be the same constructor returned by document.registerElement.
Test code:
varATag=document.registerElement('a-tag',{prototype: HTMLElement});varaTag=newATag();aTaginstanceofATag// true in Safari, Chrome, etcaTag.constructor===ATag// false in Safari and IE, but true in Firefox, Chrome