Query .positioningParent()Finds the actual positioning context for positioned elementsquery-positioningparentcomponentQuerypage.jsVisibilityUnlike positioningParent, correctly handles fixed elements and modern CSS positioning contexts["query","offset","parent","position","fixed","absolute"].positioningParent()Example