This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 18735 - [Templates]: Section 7 Parsing HTML Templates needs to be clear to be specific about ownerDocument WRT templates
Summary: [Templates]: Section 7 Parsing HTML Templates needs to be clear to be specifi...
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 15476
  Show dependency treegraph
 
Reported: 2012-08-29 19:08 UTC by Rafael Weinstein
Modified: 2012-10-03 23:04 UTC (History)
3 users (show)

See Also:


Attachments

Description Rafael Weinstein 2012-08-29 19:08:05 UTC
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.
Comment 1 Rafael Weinstein 2012-10-03 23:04:17 UTC
http://dvcs.w3.org/hg/webcomponents/rev/7a3366034bb2