Re: [whatwg/dom] Suggestion: new method - getNodesByType (#992)

@liamquin The goal of this method is to attain a list of nodes of the request type from descendant nodes *irrespective of additional specificity*. An XPath instance requires a working knowledge (or discovery thereof) of a tree instance and a non-element type can only be accessed via an element, just like all other DOM methods and properties. That is very different than the goals of the method presented here.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/992#issuecomment-866063686

Received on Tuesday, 22 June 2021 15:05:34 UTC