<?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>18597</bug_id>
          
          <creation_ts>2012-08-16 18:16:14 +0000</creation_ts>
          <short_desc>[Templates]: Make &lt;template&gt; display:none by default</short_desc>
          <delta_ts>2012-08-16 23:57:07 +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>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="Tony Ross [MSFT]">tross</reporter>
          <assigned_to name="Tony Ross [MSFT]">tross</assigned_to>
          <cc>rafaelw</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>72301</commentid>
    <comment_count>0</comment_count>
    <who name="Tony Ross [MSFT]">tross</who>
    <bug_when>2012-08-16 18:16:14 +0000</bug_when>
    <thetext>In section 9 of the current spec, Rendering HTML Templates, the rendering of the template element itself is defined as hosting an empty shadow tree. 

Rather than taking a dependency on Shadow DOM, this could be defined more simply as an addition to the default style sheet. This is also more consistent with the behavior of other &apos;hidden&apos; elements in HTML (see http://dev.w3.org/html5/spec/rendering.html#hidden-elements):

    @namespace url(http://www.w3.org/1999/xhtml);
    template {
        display : none;
    }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72302</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-08-16 18:24:28 +0000</bug_when>
    <thetext>this sounds good.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72303</commentid>
    <comment_count>2</comment_count>
    <who name="Rafael Weinstein">rafaelw</who>
    <bug_when>2012-08-16 18:27:11 +0000</bug_when>
    <thetext>Yup. Agree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72326</commentid>
    <comment_count>3</comment_count>
    <who name="Tony Ross [MSFT]">tross</who>
    <bug_when>2012-08-16 23:57:07 +0000</bug_when>
    <thetext>http://dvcs.w3.org/hg/webcomponents/rev/b31b922d9df6</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>