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

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 UTC