Finds the nearest ancestor of the element that passes the test.
(Element) DOM element
(Function) A function which takes an element as a parameter and returns true or false for some test.
the nearest ancestor that passes the test
In this example,
fluid.findAncestor() is used to find an ancestor of
smallHeader that has a desired selector.