W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2013

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 31 Oct 2013 22:27:05 +0000
To: www-dom@w3.org
Message-ID: <bug-23694-4009@http.www.w3.org/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: annevk@annevk.nl
          Reporter: bugs@pettay.fi
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

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.
Received on Thursday, 31 October 2013 22:27:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:21 UTC