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

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 UTC