public static Box layoutChildren(LayoutContext c, Box box, Content content) {
public static Box layoutChildren(LayoutContext c, BlockBox box, Content content) {
    public static Box layoutChildren(LayoutContext c, Box box, Content content) {        List contentList = content.getChildContent(c);        box.setState(Box.CHILDREN_FLUX);        if (contentList != null && contentList.size() > 0) {            Content parent = c.getParentContent();            c.setParentContent(content);            PseudoClassPushStatus status = pushPseudoClasses(c, contentList);            if (ContentUtil.hasBlockContent(contentList)) {//this should be block layed out                BlockBoxing.layoutContent(c, box, contentList);            } else {                InlineBoxing.layoutContent(c, box, contentList);            }            if (status.isPushedFirstLine()) {                c.getFirstLinesTracker().removeLast();            }            if (status.isPushedFirstLetter()) {                c.getFirstLettersTracker().removeLast();            }            c.setParentContent(parent);        }        box.setState(Box.DONE);        return box;    }