[Bug 21976] New: [imports]: Preventing DOM hierarchy cycles

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21976

            Bug ID: 21976
           Summary: [imports]: Preventing DOM hierarchy cycles
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: annevk@annevk.nl
          Reporter: rafaelw@chromium.org
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org
            Blocks: 20683

Seems like we'd like to disallow a hierchy cycle via link imports, the same way
we do for template.content and element->shadowroot.

append/insert child check the
http://dom.spec.whatwg.org/#concept-tree-host-including-inclusive-ancestor.

however, if a document can be linked by multiple link.import.content, then it
essentially has multiple hosts and thus the host-inclusive-ancestor must walk a
tree-shaped (rather than linear) ancestry chain.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 8 May 2013 20:35:33 UTC