code: public static final boolean isMouseInside(NativeEvent event, Element element) {
          return isInside(event.getClientX() + Window.getScrollLeft(), event.getClientY() + Window.getScrollTop(), getBounds(element));
      }
docs: Determines if a mouse event is inside a box.