public static void createChildren(LayoutContext c, BlockBox parent) { List children = new ArrayList(); ChildBoxInfo info = new ChildBoxInfo(); createChildren(c, parent, parent.getElement(), children, info, false); boolean parentIsNestingTableContent = isNestingTableContent(parent.getStyle().getIdent( CSSName.DISPLAY)); if (!parentIsNestingTableContent && !info.isContainsTableContent()) { resolveChildren(c, parent, children, info); } else { stripAllWhitespace(children); if (parentIsNestingTableContent) { resolveTableContent(c, parent, children, info); } else { resolveChildTableContent(c, parent, children, info, IdentValue.TABLE_CELL); } } }
public static void createChildren(LayoutContext c, BlockBox parent) { List children = new ArrayList(); ChildBoxInfo info = new ChildBoxInfo(); createChildren(c, parent, parent.getElement(), children, info, false); boolean parentIsNestingTableContent = isNestingTableContent(parent.getStyle().getIdent( CSSName.DISPLAY)); if (!parentIsNestingTableContent && !info.isContainsTableContent()) { resolveChildren(c, parent, children, info); } else { stripAllWhitespace(children); if (parentIsNestingTableContent) { resolveTableContent(c, parent, children, info); } else { resolveChildTableContent(c, parent, children, info, IdentValue.TABLE_CELL); } } }