code: @Override
      public int getShadowSize() {
  	Element shadowElement = shadow.getElement();
  	shadowElement.setScrollTop(10000);
  	return shadowElement.getScrollTop();
      }
docs: Returns the size of the shadow element