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

[email protected]
Newsgroups gmane.comp.web.dom.general
Message-ID <[email protected]/Bugs/Public/>
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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]
            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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.