<?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>16789</bug_id>
          
          <creation_ts>2012-04-18 18:30:49 +0000</creation_ts>
          <short_desc>specify parsing of the template element</short_desc>
          <delta_ts>2013-07-05 10:04:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#tree-construction</bug_file_loc>
          <status_whiteboard>exclusion</status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Robin Berjon">robin</assigned_to>
          <cc>annevk</cc>
    
    <cc>dglazkov</cc>
    
    <cc>eoconnor</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>plh</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>rafaelw</cc>
    
    <cc>robin</cc>
    
    <cc>silviapfeiffer1</cc>
    
    <cc>travil</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66813</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-04-18 18:30:49 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#tree-construction
Complete: http://www.whatwg.org/c#tree-construction

Comment:
specify parsing of the template element

Posted from: 2620:0:1002:1005:72cd:60ff:feab:f3a
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.24 Safari/536.5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66814</commentid>
    <comment_count>1</comment_count>
    <who name="Rafael Weinstein">rafaelw</who>
    <bug_when>2012-04-18 18:33:05 +0000</bug_when>
    <thetext>For reference: http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html#dfn-template</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70322</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 07:19:01 +0000</bug_when>
    <thetext>This bug was cloned to create bug 17930 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81686</commentid>
    <comment_count>3</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-01-21 15:58:33 +0000</bug_when>
    <thetext>Mass move to &quot;HTML WG&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81804</commentid>
    <comment_count>4</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-01-21 16:01:20 +0000</bug_when>
    <thetext>Mass move to &quot;HTML WG&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84807</commentid>
    <comment_count>5</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2013-03-21 23:52:52 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Comment:
&gt; specify parsing of the template element

Is the intention to integrate the parsing rules from https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html#parsing into HTML5 proper? Is it not sufficient to have them included in the template document itself?

Alternatively, are you wanting &quot;template&quot; to be listed in the &quot;special&quot; category as we do for MathML/SVG elements which are included directly in the spec as having varying levels of special parsing rules?

http://www.w3.org/html/wg/drafts/html/master/syntax.html#special</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84838</commentid>
    <comment_count>6</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-03-22 12:30:11 +0000</bug_when>
    <thetext>Yes, &lt;template&gt; should eventually be part of the HTML parser specification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85107</commentid>
    <comment_count>7</comment_count>
    <who name="Rafael Weinstein">rafaelw</who>
    <bug_when>2013-03-28 17:09:10 +0000</bug_when>
    <thetext>Agree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86025</commentid>
    <comment_count>8</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-04-12 09:59:45 +0000</bug_when>
    <thetext>I agree that they should be included. Doing so is largely a matter of them being sufficiently agreed upon. If that&apos;s the case we can go ahead.

Having tests would also be most helpful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89310</commentid>
    <comment_count>9</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-06-14 12:55:52 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: landed the template element
Rationale: It doesn&apos;t make sense to keep it outside.

The relevant changes are:

https://github.com/w3c/html/commit/2502feb541063a3834f1ef07e2a23d0824d96914
https://github.com/w3c/html/commit/daaf6bc1e76365b6678a14b47954bcf9c5db54c6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90384</commentid>
    <comment_count>10</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-07-05 10:04:31 +0000</bug_when>
    <thetext>I have applied Ian&apos;s merges to keep the differences to the WHATWG spec minimal.

Please review these patches:
https://github.com/w3c/html/commit/8e127db936c0c5831ab8095e8badcd9e744a5b11
https://github.com/w3c/html/commit/9f276deb4a20dd605d5490bef1c0e912f319fc40
https://github.com/w3c/html/commit/434b34afabe0b3dd8a11fcfee1ef801fc1e913b9

I have left several non-normative paragraphs from the W3C merging, but marked them with &lt;!--FORK--&gt;. I have replaced all the normative wording with Ian&apos;s, which seemed to be more complete.

Ian made a thorough list of his decisions at:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17930

Please review!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>