return new Dimension(this.x - initialX, this.y - initialY);
setRelativeOffset(new Dimension(this.x - initialX, this.y - initialY)); return getRelativeOffset();
    public Dimension positionRelative(CssContext cssCtx) {        int initialX = this.x;        int initialY = this.y;                CalculatedStyle style = getStyle().getCalculatedStyle();        if (! style.isIdent(CSSName.LEFT, IdentValue.AUTO)) {            this.x += style.getFloatPropertyProportionalWidth(                    CSSName.LEFT, getContainingBlock().getContentWidth(), cssCtx);        } else if (! style.isIdent(CSSName.RIGHT, IdentValue.AUTO)) {            this.x += style.getFloatPropertyProportionalWidth(                    CSSName.LEFT, getContainingBlock().getContentWidth(), cssCtx);        }                int cbContentHeight = 0;        if (! getContainingBlock().getStyle().isAutoHeight()) {            CalculatedStyle cbStyle = getContainingBlock().getStyle().getCalculatedStyle();            cbContentHeight = (int)cbStyle.getFloatPropertyProportionalHeight(                    CSSName.HEIGHT, 0, cssCtx);        }                if (!style.isIdent(CSSName.TOP, IdentValue.AUTO)) {            this.y += style.getFloatPropertyProportionalHeight(                    CSSName.TOP, cbContentHeight, cssCtx);        } else if (!style.isIdent(CSSName.BOTTOM, IdentValue.AUTO)) {            this.y += style.getFloatPropertyProportionalHeight(                    CSSName.TOP, cbContentHeight, cssCtx);        }                return new Dimension(this.x - initialX, this.y - initialY);    }