<?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>20489</bug_id>
          
          <creation_ts>2012-12-22 00:33:40 +0000</creation_ts>
          <short_desc>[Custom]: Nothing ever defines what the &quot;custom element name&quot; of a random element is</short_desc>
          <delta_ts>2013-02-20 19:02:48 +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>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>21063</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>17103</blocked>
    
    <blocked>20684</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Boris Zbarsky">bzbarsky</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>wchen</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80516</commentid>
    <comment_count>0</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-12-22 00:33:40 +0000</bug_when>
    <thetext>The upgrade algorigthm says:

  &quot;For each element ELEMENT in TREE whose custom element name is NAME: &quot;

but nothing defines, for an arbitrary element, what its custom element name is, as far as I can tell.

What might make the most sense here, in my opinion, is looking for elements whose namespace is the HTML namespace and whose localName is NAME. Unless NAME can be non-lowercase here, in which case things are a bit more complicated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80517</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-12-22 00:35:45 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; The upgrade algorigthm says:
&gt; 
&gt;   &quot;For each element ELEMENT in TREE whose custom element name is NAME: &quot;
&gt; 
&gt; but nothing defines, for an arbitrary element, what its custom element name
&gt; is, as far as I can tell.

It&apos;s defined here (even linked from the sentence you selected)? http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#dfn-custom-element-name

&gt; 
&gt; What might make the most sense here, in my opinion, is looking for elements
&gt; whose namespace is the HTML namespace and whose localName is NAME. Unless
&gt; NAME can be non-lowercase here, in which case things are a bit more
&gt; complicated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80522</commentid>
    <comment_count>2</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-12-22 01:11:24 +0000</bug_when>
    <thetext>No, that doesn&apos;t define it.  That defines the syntax of a custom element name.  It says nothing about how to extract one from a DOM node.  Note, specifically, that &quot;element&apos;s tag name&quot; is not defined in the text you cite.  Do you mean the DOM .tagName?  Or something else?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80523</commentid>
    <comment_count>3</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-12-22 01:11:58 +0000</bug_when>
    <thetext>And in particular, the concept of &quot;tag name&quot; does not appear anywhere in http://dom.spec.whatwg.org/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83413</commentid>
    <comment_count>4</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-02-20 19:02:48 +0000</bug_when>
    <thetext>Pouring this over into bug 21063.

*** This bug has been marked as a duplicate of bug 21063 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>