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

[Bug 18735] New: [Templates]: Section 7 Parsing HTML Templates needs to be clear to be specific about ownerDocument WRT templates

From: <bugzilla@jessica.w3.org>
Date: Wed, 29 Aug 2012 19:08:05 +0000
To: public-webapps-bugzilla@w3.org
Message-ID: <bug-18735-2532@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18735

           Summary: [Templates]: Section 7 Parsing HTML Templates needs to
                    be clear to be specific about ownerDocument WRT
                    templates
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
        AssignedTo: dglazkov@chromium.org
        ReportedBy: rafaelw@chromium.org
         QAContact: public-webapps-bugzilla@w3.org
            Blocks: 15476


I actually don't see anything here:
http://dev.w3.org/html5/spec/tokenization.html#create-an-element-for-the-token,
which specifies the behavior that webkit implements, which is that when an
element is created for token, its owner document is set to the ownerDocument()
of the |curent node| on the stack of open elements.

Whether or not, I'm missing it, it's probably best to specify that if the
|current node| is a template element, then the parser should create an element
whose owner document is that of the template's content document fragment.

-- 
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 Wednesday, 29 August 2012 19:08:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 29 August 2012 19:08:07 GMT