- From: Hayato Ito <notifications@github.com>
- Date: Mon, 06 Jul 2015 00:41:23 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Message-ID: <w3c/webcomponents/issues/236@github.com>
Title: [Custom]: Consider creating registries for HTML documents created through DOMImplementation in some cases (bugzilla: 23018) Migrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=23018 ---- comment: 0 comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=23018#c0 *Dominic Cooney* wrote on 2013-08-20 01:43:15 +0000. As written, if you have an document with a registry, then do doc2 = document.implementation.createDocument(...) to create a non-HTML, etc. document (ie one that does not get associated with a registry) and then turn around and do doc3 = document.implementation.createHTMLDocument() the speced behavior is for doc3 to not have a document/not process Custom Elements. A possible alternative semantics is for doc3 to get a new, separate registry from the original document. The nice property this gives you is all documents that *could* process Custom Elements (ie right kind of document) *do* process Custom Elements, and just which registry they're associated with differs. ---- comment: 1 comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=23018#c1 *Dominic Cooney* wrote on 2013-08-20 01:53:56 +0000. Oops, instead of doc3 = document.implementation.createHTMLDocument() Of course I meant doc3 = doc2.implementation.createHTMLDocument() --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/236
Received on Monday, 6 July 2015 07:42:31 UTC