closest static method
Returns the ancestor of the given element matching the given selector (which may be the element itself if it matches), or null if no matching ancestor is found.
Implementation
external static Element closest(Element root, String selector);