<?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>15154</bug_id>
          
          <creation_ts>2011-12-12 21:32:35 +0000</creation_ts>
          <short_desc>[Explainer]: Can you use a custom element definition on any element?</short_desc>
          <delta_ts>2011-12-12 23:33:00 +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>INVALID</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>14949</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Divya Manian">divya.manian</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>61462</commentid>
    <comment_count>0</comment_count>
    <who name="Divya Manian">divya.manian</who>
    <bug_when>2011-12-12 21:32:35 +0000</bug_when>
    <thetext>In this:

&lt;element extends=&quot;button&quot; name=&quot;x-fancybutton&quot;&gt;  &lt;!-- definition --&gt;
    …
&lt;/element&gt;

&lt;button is=&quot;x-fancybutton&quot; onclick=&quot;showTimeClicked(event);&quot;&gt;  &lt;!-- use --&gt;
    Show time
&lt;/button&gt;


I guess it should be obvious (&quot;no&quot;) but I wonder if, say in the example of the custom button definition, can a span use that definition?  so instead of &lt;button is=&quot;x-fancy…&quot; can you say &lt;span is=&quot;x-fancy…&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61468</commentid>
    <comment_count>1</comment_count>
    <who name="Divya Manian">divya.manian</who>
    <bug_when>2011-12-12 23:33:00 +0000</bug_when>
    <thetext>Ugh I didnt see the error handling at the end. Maybe it might just help to explain at the beginning that the elements it can be used on need to be same as the element it extends.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>