<?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>19415</bug_id>
          
          <creation_ts>2012-10-09 22:34:57 +0000</creation_ts>
          <short_desc>[Templates]: Need parser rules to prevent &lt;html&gt; within &lt;template&gt; from merging attributes with the document&apos;s &lt;html&gt;</short_desc>
          <delta_ts>2012-10-09 23:16:08 +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>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>15476</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Rafael Weinstein">rafaelw</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>dglazkov</cc>
    
    <cc>rafaelw</cc>
    
    <cc>tross</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75738</commentid>
    <comment_count>0</comment_count>
    <who name="Rafael Weinstein">rafaelw</who>
    <bug_when>2012-10-09 22:34:57 +0000</bug_when>
    <thetext>This is similar to the behavior of &lt;body&gt;.

The cases that can occur are:

InBody, e.g.

#data
&lt;html a=b&gt;&lt;template&gt;&lt;div&gt;&lt;html b=c&gt;&lt;span&gt;&lt;/template&gt;
#errors
#document
| &lt;html&gt;
|   a=&quot;b&quot;
|   &lt;head&gt;
|     &lt;template&gt;
|       #document-fragment
|         &lt;div&gt;
|           &lt;span&gt;
|   &lt;body&gt;

InColGroup, e.g.

#data
&lt;html a=b&gt;&lt;template&gt;&lt;col&gt;&lt;/col&gt;&lt;html b=c&gt;&lt;col&gt;&lt;/col&gt;&lt;/template&gt;
#errors
#document
| &lt;html&gt;
|   a=&quot;b&quot;
|   &lt;head&gt;
|     &lt;template&gt;
|       #document-fragment
|         &lt;col&gt;
|         &lt;col&gt;
|   &lt;body&gt;

InFrameset, e.g.

#data
&lt;html a=b&gt;&lt;template&gt;&lt;frame&gt;&lt;/frame&gt;&lt;html b=c&gt;&lt;frame&gt;&lt;/frame&gt;&lt;/template&gt;
#errors
#document
| &lt;html&gt;
|   a=&quot;b&quot;
|   &lt;head&gt;
|     &lt;template&gt;
|       #document-fragment
|         &lt;frame&gt;
|         &lt;frame&gt;
|   &lt;body&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75751</commentid>
    <comment_count>1</comment_count>
    <who name="Rafael Weinstein">rafaelw</who>
    <bug_when>2012-10-09 23:16:08 +0000</bug_when>
    <thetext>http://dvcs.w3.org/hg/webcomponents/rev/b619a03dff2d

Note that all three cases are covered by editing InBody because the other cases refer to that case.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>