HTMLTemplateElement.prototype.content polyfill This polyfill is created to enable content property in Safari. Didn't have a chance to try in IE.