W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > August 2012

[Bug 18597] New: [Templates]: Make <template> display:none by default

From: <bugzilla@jessica.w3.org>
Date: Thu, 16 Aug 2012 18:16:14 +0000
To: public-webapps-bugzilla@w3.org
Message-ID: <bug-18597-2532@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18597

           Summary: [Templates]: Make <template> display:none by default
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
        AssignedTo: dglazkov@chromium.org
        ReportedBy: tross@microsoft.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: rafaelw@chromium.org
            Blocks: 15476


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 'hidden' 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;
    }

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 16 August 2012 18:16:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 16 August 2012 18:16:16 GMT