margin.left() - borderWidth.left - (int)padding.left() - (int)padding.right() - borderWidth.right - margin.right();
margin.left() - (int)borderWidth.left() - (int)padding.left() - (int)padding.right() - (int)borderWidth.right() - margin.right();
    private static float adjustWidth(float parentWidth, Context c) {        CalculatedStyle style = c.getCurrentStyle();        boolean hasSpecifiedWidth = !style.isIdent(CSSName.WIDTH, IdentValue.AUTO);        if (hasSpecifiedWidth) {            return style.getFloatPropertyProportionalWidth(CSSName.WIDTH, parentWidth, c.getCtx());        } else {            RectPropertySet margin = style.getMarginRect(parentWidth, parentWidth, c.getCtx());            RectPropertySet padding = style.getPaddingRect(parentWidth, parentWidth, c.getCtx());            Border borderWidth = style.getBorderWidth(c.getCtx());            return parentWidth -                    margin.left() - borderWidth.left - (int)padding.left() -                    (int)padding.right() - borderWidth.right - margin.right();        }    }