<?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>22126</bug_id>
          
          <creation_ts>2013-05-21 19:45:34 +0000</creation_ts>
          <short_desc>[Custom]: Should &lt;element&gt; support declaring SVG elements?</short_desc>
          <delta_ts>2013-10-07 16:30:19 +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>LATER</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>22941</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov">dglazkov</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>dominicc</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88020</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-05-21 19:45:34 +0000</bug_when>
    <thetext>&quot;As designed now, declarations only provide a way to build elements in HTML namespace. Is this enough?&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88047</commentid>
    <comment_count>1</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-05-22 03:40:26 +0000</bug_when>
    <thetext>Perhaps the spec could be simplified (removing mentions of extending SVGElement, prototype chain walking for that, removing mention of an unknown interface for XML elements, etc.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88362</commentid>
    <comment_count>2</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-05-29 05:33:23 +0000</bug_when>
    <thetext>FWIW here is an example of using type extensions with SVG, which seems to work fine and dandy:

&lt;http://jsbin.com/elivaz/2/&gt;

However Blink may not be spec compliant in some way that makes this possible while it is disallowed by the spec.

I think it is fine for SVG Custom Elements to always be type extensions. What would you draw, otherwise?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89604</commentid>
    <comment_count>3</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-06-19 21:48:43 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; However Blink may not be spec compliant in some way that makes this possible
&gt; while it is disallowed by the spec.

The question in the bug is much simpler: should declarative syntax support anything other than HTML namespace?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89610</commentid>
    <comment_count>4</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-06-20 00:20:01 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; The question in the bug is much simpler: should declarative syntax support
&gt; anything other than HTML namespace?

Yes.

An observation:

It doesn&apos;t make sense for SVG Custom Elements to be custom tags. They should be type extensions.

Therefore the &quot;extends&quot; attribute unambiguously indicates whether a custom element is an SVG element. (There&apos;s no overlap between SVG and HTML tag names, right?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89611</commentid>
    <comment_count>5</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-06-20 00:27:11 +0000</bug_when>
    <thetext>(In reply to comment #4)
 
&gt; Therefore the &quot;extends&quot; attribute unambiguously indicates whether a custom
&gt; element is an SVG element. (There&apos;s no overlap between SVG and HTML tag
&gt; names, right?)

script and style, to name a few :-\</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89613</commentid>
    <comment_count>6</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-06-20 01:07:21 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt;  
&gt; &gt; Therefore the &quot;extends&quot; attribute unambiguously indicates whether a custom
&gt; &gt; element is an SVG element. (There&apos;s no overlap between SVG and HTML tag
&gt; &gt; names, right?)
&gt; 
&gt; script and style, to name a few :-\

That sucks. Namespace attribute, which defaults to HTML&apos;s?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89842</commentid>
    <comment_count>7</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-06-25 20:15:59 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; That sucks. Namespace attribute, which defaults to HTML&apos;s?

Let&apos;s tackle this later.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>