I'd like to propose that the <template> tag have a namespace="" attribute that allows the user to specify namespaces such as " http://www.w3.org/2000/svg", so that the document fragment that comes from `.content` is created properly.
e.g.: <template id="my-svg-template" namespace="http://www.w3.org/2000/svg> <circle cx="10" cy="10" cr="10"/> </template> Likewise, <content> should work properly inside of that template tag, but I suspect that's more of a proposal for the SVG spec. This proposal comes from work I'm doing at Netflix to create composable graph components that are SVG based. Currently, I'm not able to use <template> tags efficiently. This proposal seems like something that would be good in the long run, and something that would also be easy to polyfill in the meantime. What are your thoughts on this idea? Thank you, Ben Lesh @benlesh Senior UI Engineer Netflix