if ( haveBorders ) {
/*if ( haveBorders ) {
    private void calcBorders( CalculatedStyle style ) {        // HACK: may need to remove this check if sizes can change dynamically on resize (patrick)        if ( haveBorders ) {            return;        }        if ( style == null ) {            throw new XRRuntimeException( "cant calc borders with no style" );        }        // ASK: where do we get the containing height/width here        margin = style.getMarginWidth( width, height );        padding = style.getPaddingWidth( width, height );        border = style.getBorderWidth( width, height );        haveBorders = true;// this flag is not checked, ask patrick    }