This feature is experimental. Please share your experiences so we know what to keep or change.
Returns the scrolling container for the given element.
Returns the document's scrolling element if no closer viewport exists.