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 20129 - [Templates]: consider enforcing invariant that templateContentsOwnerDocument is always that of the containing document, if there is one.
Summary: [Templates]: consider enforcing invariant that templateContentsOwnerDocument ...
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-11-28 19:04 UTC by Rafael Weinstein
Modified: 2013-01-08 23:49 UTC (History)
1 user (show)

See Also:


Attachments

Description Rafael Weinstein 2012-11-28 19:04:36 UTC
e.g. in the case of adopting a template from one document into another.

like extending cycle detection this would essentially be an extension of the behavior of adoptNode (adopt template contents into the correct document's templateContentsOwnerDocument).
Comment 1 Rafael Weinstein 2013-01-08 23:49:09 UTC
https://dvcs.w3.org/hg/webcomponents/rev/568e213daf6a

"When a template element's node document changes, the template element's content DocumentFragment must be adopted into the new node document's template contents owner document."