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

[Bug 20127] New: [Templates]: Template needs to disallow DOM hierarchy cycles which can result from template.contents

From: <bugzilla@jessica.w3.org>
Date: Wed, 28 Nov 2012 18:58:05 +0000
To: public-webapps-bugzilla@w3.org
Message-ID: <bug-20127-2532@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20127

            Bug ID: 20127
           Summary: [Templates]: Template needs to disallow DOM hierarchy
                    cycles which can result from template.contents
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: rafaelw@chromium.org
        QA Contact: public-webapps-bugzilla@w3.org
            Blocks: 15476

e.g.

template.content.appendChild(template).

Note that ShadowRoot has an nearly identical problem, we hopefully we can
address both with the same solution.

I propose the right behavior is DOM operation that would result in a cycle via
template.content throw a DOM HIERARCHY exception the same way that it does now
with parent/child cycles.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 28 November 2012 18:58:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 28 November 2012 18:58:11 GMT