positionedOffset(element) -> [Number, Number] also accessible as { left: Number, top: Number }

Returns element’s offset relative to its closest positioned ancestor (the element that would be returned by Element#getOffsetParent).

Calculates the cumulative offsetLeft and offsetTop of an element and all its parents until it reaches an element with a position of static.

Note that all values are returned as numbers only although they are expressed in pixels.