docs: public static boolean checkPositionInside(Element element, int x, int y) {
  
          // ignore x / left-right values for x == -1
          if (x != -1) {
              // check if the mouse pointer is within the width of the target
              int left = CmsDomUtil.getRelativeX(x, element);
              int offsetWidth = element.getOffsetWidth();
              if ((left <= 0) || (left >= offsetWidth)) {
                  return false;
              }
          }
          // ignore y / top-bottom values for y == -1
          if (y != -1) {
              // check if the mouse pointer is within the height of the target
              int top = CmsDomUtil.getRelativeY(y, element);
              int offsetHeight = element.getOffsetHeight();
              if ((top <= 0) || (top >= offsetHeight)) {
                  return false;
              }
          }
          return true;
      }