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 has been archived by the owner on Jun 6, 2019. It is now read-only.
The polyfill only patches innerHTML on elements. This means that setting innerHTML on a non-template element that includes a nested element will fail to upgrade that . It will therefore have childNodes and no content property.
To fix this, innerHTML should be patched on Element | HTMLElement.
The text was updated successfully, but these errors were encountered:
Use <template>.innerHTML when adding test elements to main document. Works around a template polyfill issue (webcomponents/template#40) by setting innerHTML on a <template> element so that inner templates are correctly updated.
The polyfill only patches
innerHTML
on elements. This means that settinginnerHTML
on a non-template element that includes a nested element will fail to upgrade that . It will therefore have childNodes and nocontent
property.To fix this,
innerHTML
should be patched on Element | HTMLElement.The text was updated successfully, but these errors were encountered: