this function finds the closest matching ancestor, but the function name could be read to imply that it returns the direct parent node; this commit suggests a slightly less misleading name.
this function finds the closest matching ancestor, but the function name could be read to imply that it returns the direct parent node; this commit suggests a slightly less misleading name.