W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2012

[Bug 16488] New: Consider adding parent() / ancestor() method

From: <bugzilla@jessica.w3.org>
Date: Fri, 23 Mar 2012 07:57:36 +0000
To: www-dom@w3.org
Message-ID: <bug-16488-4009@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16488

           Summary: Consider adding parent() / ancestor() method
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
        AssignedTo: annevk@opera.com
        ReportedBy: annevk@opera.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org


The method either takes a function or a selector. While walking up the parent
chain from the node on which the method was invoked, If the function returns
true or the selector matches for the current node, it is returned, or null
otherwise.

Suggestion from Ojan.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Friday, 23 March 2012 07:57:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:09 GMT