<?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>26583</bug_id>
          
          <creation_ts>2014-08-14 08:41:54 +0000</creation_ts>
          <short_desc>[Custom]: Add the possibility to extend the custom element</short_desc>
          <delta_ts>2015-07-06 08:17:02 +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>Windows NT</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>
          
          <blocked>14968</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter>lohentertainment</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>jackalmage</cc>
    
    <cc>lohentertainment</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>110171</commentid>
    <comment_count>0</comment_count>
    <who name="">lohentertainment</who>
    <bug_when>2014-08-14 08:41:54 +0000</bug_when>
    <thetext>Example:

var Modal = document.registerElement(&apos;x-modal&apos;, {
  prototype: Object.create(HTMLElement, {/* modal generic prototype */})
})
var WebcamModal = document.registerElement(&apos;x-webcam&apos;, {
  extends: &apos;x-modal&apos;,
  prototype: Object.create(Modal, {
    /* webcam modal specific prototype */
    show: {
        value: function() {
          Modal.prototype.show.call(this)
          // run webcam
        }
    }
  })
})

&lt;x-modal&gt;&lt;/x-modal&gt;
&lt;x-modal is=&quot;webcam&quot;&gt;&lt;/x-modal&gt;

And will be cool if will be possible to have a non-dashed name of extend name (is=&quot;webcam&quot; instead is=&quot;x-webcam&quot;).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110185</commentid>
    <comment_count>1</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2014-08-14 14:57:20 +0000</bug_when>
    <thetext>There is no &quot;non-dashed version&quot; of a name, because there&apos;s no common structure to the name that we can safely ignore.  The sole requirements it that a dash appears *somewhere* in the name, so it can occur between or around significant or insignificant parts, and there&apos;s no way to tell automatically what parts are insignificant.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121750</commentid>
    <comment_count>2</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2015-07-06 08:17:02 +0000</bug_when>
    <thetext>Moved to https://github.com/w3c/webcomponents/issues/201</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>