docs: function offsetParent() {
                  var offsetParent = this.offsetParent || document;
  
                  while (offsetParent && (!offsetParent.nodeType.toLowerCase === "html" && offsetParent.style.position === "static")) {
                      offsetParent = offsetParent.offsetParent;
                  }
  
                  return offsetParent || document;
              }