For a given DOM element, find the first ancestor that matches a given CSS selector. - View it on GitHub
Star
23
Rank
459429