From MDN documentation to Element.offsetParent:
The
HTMLElement.offsetParentread-only property returns a reference to the object which is the closest (nearest in the containment hierarchy) positioned containing element. If the element is non-positioned, the nearest table, table cell or root element is returned by offsetParent
Why .offsetParent returns nearest table if element is not-positioned (that is position: static)? Why not .offsetParent always returns nearest positioned element?
I know that answer to my question is because standard says so, but why developers of standard decided that, what is purpose for that solution?