Re: [webcomponents] Should HTML parser instantiate custom elements inside a template element? (#406)

It seems like someone could cause template elements to wake up though by doing `document.createElement("template").content.ownerDocument.defineElement(...)`. IIRC the template owner document is shared between all template elements.

That is probably something we want to disallow? Even though it goes against the idea of every document having a registry?

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/406#issuecomment-191321385

Received on Wednesday, 2 March 2016 16:48:59 UTC