* @return this element's <tt>offsetHeight</tt>
* @see <a href="http://msdn2.microsoft.com/en-us/library/ms534199.aspx">MSDN Documentation</a>
* @see <a href="http://www.quirksmode.org/js/elementdimensions.html">Element Dimensions</a>
*/
public int jsxGet_offsetHeight() {
final MouseEvent event = MouseEvent.getCurrentMouseEvent();
if (isAncestorOfEventTarget(event)) {
// compute appropriate offset height to pretend mouse event was produced within this element
return event.jsxGet_clientY() - getPosY() + 50;
}
return jsxGet_currentStyle().getCalculatedHeight(true, true);
}