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

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 UTC