docs: function (element) {
              var positionStyle = this.getStyle(element, "position");
              var isAbsolute = positionStyle === "absolute";
              var isFixed = positionStyle === "fixed";
              var position = {};
              if (isAbsolute) {
                  position.left = this.getStylePx(element, "left", null);
                  position.top = this.getStylePx(element, "top", null);
              }
              if (position.left == null || position.top == null) {
                  var offsetParent = isFixed ? Aria.$window.document.body : element.offsetParent;
                  var offsetParentPosition = this.calculatePosition(offsetParent);
                  var elementPosition = this.calculatePosition(element);
                  if (position.left == null) {
                      var borderLeft = this.getStylePx(offsetParent, "borderLeftWidth", 0);
                      position.left = elementPosition.left - offsetParentPosition.left + offsetParent.scrollLeft
                              - borderLeft;
                  }
                  if (position.top == null) {
                      var borderTop = this.getStylePx(offsetParent, "borderTopWidth", 0);
                      position.top = elementPosition.top - offsetParentPosition.top + offsetParent.scrollTop - borderTop;
                  }
              }
  
              return position;
          }