- From: <bugzilla@jessica.w3.org>
- Date: Fri, 17 Aug 2012 21:03:47 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18608
Summary: [Templates] Specify that all template elements within
a document have DF's that are owned by a shared
browsing-context-less document
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
The following:
"Prior to first access, the content property must be initialized in a way that
is equivalent to processing these steps:
Input
TEMPLATE, the template
Output
CONTENTS, the template contents
Let DOCUMENT be a new Document node that does not have a browsing context
Mark DOCUMENT as an HTML document
Let CONTENTS be a new DocumentFragment object whose node document is DOCUMENT"
Implies
template.contents.ownerDocument !== template2.contents.ownerDocument
for any two distinct template elements.
This seems needlessly expensive. I propose something equivalent to:
-Event document which *has a browsing context* owns another (lazily created)
"inert document" which lacks a browsing context. When a template element
creates it's content document fragment it assigns it's node (owner) document as
follows:
If template.ownerDocument has a browsing context, use that document's "inert
document"
else use the template.ownerDocument.
--
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 Friday, 17 August 2012 21:03:48 UTC