[Deprecated] Function to get closest element, in use by AnimatedLabel
Element whose children are inspected
CSS selector to match
use 'OSFramework.OSUI.Helper.Dom.GetClosest' instead.
[Deprecated] Function to get closest element, in use by AnimatedLabel