if (! isReplaced()) { calcMinMaxCSSMinMaxWidth(c, margin, border, padding); }
    public void calcMinMaxWidth(LayoutContext c) {        if (! minMaxCalculated) {            RectPropertySet margin = getMargin(c);            BorderPropertySet border = getStyle().getBorder(c);            RectPropertySet padding = getPadding(c);                        int width = getCSSWidth(c);                        if (width != -1) {                minWidth = maxWidth =                    (int)margin.left() + (int)border.left() + (int)padding.left() +                    width +                    (int)margin.right() + (int)border.right() + (int)padding.right();            } else {                minWidth = maxWidth =                    (int)margin.left() + (int)border.left() + (int)padding.left() +                    (int)margin.right() + (int)border.right() + (int)padding.right();                                ensureChildren(c);                                if (getChildrenContentType() == CONTENT_BLOCK ||                         getChildrenContentType() == CONTENT_INLINE) {                    switch (getChildrenContentType()) {                        case CONTENT_BLOCK:                            calcMinMaxWidthBlockChildren(c);                            break;                        case CONTENT_INLINE:                            calcMinMaxWidthInlineChildren(c);                            break;                    }                }            }                        minMaxCalculated = true;        }    }