if (child.hasNode()) { Layout lt = ctx.getLayout(child.getRealElement());
if (child.hasContent()) { Layout lt = ctx.getLayout(child.getContent().getElement());
    private void restyleChildren(Context ctx, Box box) {        for (int i = 0; i < box.getChildCount(); i++) {            Box child = box.getChild(i);            if (child.hasNode()) {                Layout lt = ctx.getLayout(child.getRealElement());                if (lt instanceof InlineLayout) {                    //u.p("restyling: " + child);                    ((InlineLayout) lt).restyle(ctx, child);                }            }            restyleChildren(ctx, child);        }    }