- From: Bede Overend <notifications@github.com>
- Date: Tue, 22 Dec 2015 16:17:21 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Wednesday, 23 December 2015 00:17:49 UTC
It would be great if could use separate registries. I mocked up a [JSBin of it in action](https://jsbin.com/demujugixa/edit?html,output), where there are two `my-element` with different prototypes, though as you've said, innerHTML and CSS is still an issue. Should this even work, or is it just a hack that may break in the future? Also, and perhaps this is a discussion for another thread, but in the above example I was forced to use an iframe, rather than something like `document.implementation.createHTMLDocument` as only in the iframe did the registry appear unique. Should creating a new HTMLDocument have a unique registry? --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/344#issuecomment-166766914
Received on Wednesday, 23 December 2015 00:17:49 UTC