<?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>22330</bug_id>
          
          <creation_ts>2013-06-12 00:28:17 +0000</creation_ts>
          <short_desc>[Custom]: Use consistent language for NAME and TYPE and NAME and EXTENDS</short_desc>
          <delta_ts>2013-06-18 19:47:34 +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>FIXED</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>
          
          <blocked>14968</blocked>
          <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>89139</commentid>
    <comment_count>0</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-06-12 00:28:17 +0000</bug_when>
    <thetext>&quot;NAME, the custom element name of the element being registered&quot;

In the description of register, NAME is a custom element name and EXTENDS is a local-name.

However in the element registration algorithm, TYPE is the custom element name and NAME is a local name.

The spec is correct, there&apos;s alpha-renaming of TYPE/NAME and NAME/EXTENDS. It is just *really* confusing when reading the spec to have TYPE and NAME refer to two different things in slightly different contexts.

The Blink implementation uses TYPE for the thing that uniquely identifies the custom element. For custom tags, this is the tag name. For type extensions, this is the value of the &quot;is&quot; attribute.

NAME is always the tag name of the custom element. For custom tags, TYPE and NAME have the same value.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89419</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-06-17 22:17:44 +0000</bug_when>
    <thetext>Good point. I wonder if we should call it &quot;custom element type&quot; in the spec, too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89424</commentid>
    <comment_count>2</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-06-17 22:31:27 +0000</bug_when>
    <thetext>https://codereview.appspot.com/10340045</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89500</commentid>
    <comment_count>3</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-06-18 19:47:34 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/webcomponents/rev/680e197157a5</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>