<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>23018</bug_id>
          
          <creation_ts>2013-08-20 01:43:15 +0000</creation_ts>
          <short_desc>[Custom]: Consider creating registries for HTML documents created through DOMImplementation in some cases</short_desc>
          <delta_ts>2015-07-06 08:18:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - Component Model</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominic Cooney">dominicc</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92314</commentid>
    <comment_count>0</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-08-20 01:43:15 +0000</bug_when>
    <thetext>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&apos;re associated with differs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92315</commentid>
    <comment_count>1</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-08-20 01:53:56 +0000</bug_when>
    <thetext>Oops, instead of

doc3 = document.implementation.createHTMLDocument()

Of course I meant

doc3 = doc2.implementation.createHTMLDocument()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121764</commentid>
    <comment_count>2</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2015-07-06 08:18:39 +0000</bug_when>
    <thetext>Moved to https://github.com/w3c/webcomponents/issues/236</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>