if (box.isInlineElement() || !(box.content instanceof TextContent)) {
if (isBlockOrInlineElementBox(box)) {
    public static Border getBorder(Context c, Box box) {        //TODO: can I skip this? if (isBlockOrInlineElementBox(c, box)) {        if (box.isInlineElement() || !(box.content instanceof TextContent)) {            // Uu.p("setting border for: " + box);            if (box.border == null) {                box.border = c.getCurrentStyle().getBorderWidth();            }            //} else {            // Uu.p("skipping border for: " + box);        }        return box.border;    }