A selector function for retrieving existing parent PseudoNode from the given child item.
This function will check all the parents starting from node, and scan the attributes
property for matches. The return array contains all matching parent ancestors, starting with the root of the tree.
Parameters
attr: string
The property to compare on each ancestor (a missing property counts as false)
A selector function for retrieving existing parent PseudoNode from the given child item. This function will check all the parents starting from node, and scan the attributes property for matches. The return array contains all matching parent ancestors, starting with the root of the tree.