if (isStyled() && getStyle().isAbsolute() && getStyle().isTopAuto() && getStyle().isBottomAuto()) { alignToStaticEquivalent(); }
    public void calcCanvasLocation() {        LineBox lineBox = getLineBox();        if (lineBox == null) {            Box parent = getParent();            if (parent != null) {                setAbsX(parent.getAbsX() + parent.tx + this.x);                setAbsY(parent.getAbsY() + parent.ty + this.y);            } else if (isStyled() && (getStyle().isAbsolute() || getStyle().isFixed())) {                // Could be absolute try positioning relative to containing block                Box cb = getContainingBlock();                if (cb != null) {                    setAbsX(cb.getAbsX() + this.x);                    setAbsY(cb.getAbsY() + this.y);                }            }        } else {            setAbsX(lineBox.getAbsX() + this.x);            setAbsY(lineBox.getAbsY() + this.y);        }                if (isReplaced()) {            Point location = component.getLocation();            if (location.x != getAbsX() || location.y != getAbsY()) {                component.setLocation(getAbsX(), getAbsY());                }        }                if (isStyled() && getStyle().isAbsolute() && getStyle().isTopAuto() &&                getStyle().isBottomAuto()) {            alignToStaticEquivalent();        }    }