[Bug 23694] New: Should element.getElementById() consider the element itself when searching

[email protected]
Newsgroups gmane.comp.web.dom.general
Message-ID <[email protected]/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23694

            Bug ID: 23694
           Summary: Should element.getElementById() consider the element
                    itself when searching
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

It is odd if getElementById can't be used reliably in a disconnected
subtree to find element by id.

Based on testing querySelector seems to have similar oddity, but
we don't need to copy its behavior here, IMO.

-- 
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.