This feature is experimental. It may be changed or removed in a future version without prior notice or deprecation.
Returns the scrolling container for the given element.
Returns the document's scrolling element if no closer viewport exists.