offsetParent
deprecated

offsetParent(element) -> HTMLElement

Returns element’s closest positioned ancestor. If none is found, the body element is returned.

Deprecated in favor of Element#getOffsetParent

The returned element is element’s CSS containing block.