info.setInlineBox(currentIB);
    private static InlineBox addNestedInlineBoxes(LayoutContext c, LineBox line,             List elementStack, int cbWidth) {        InlineBox currentIB = null;        InlineBox previousIB = null;        boolean first = true;        for (Iterator i = elementStack.iterator(); i.hasNext();) {            InlineBoxInfo info = (InlineBoxInfo) i.next();            currentIB = info.getInlineBox().copyOf();                        // :first-line transition            if (info.getCalculatedStyle() != null) {                currentIB.setStyle(new Style(info.getCalculatedStyle(), cbWidth));                currentIB.calculateHeight(c);                info.setCalculatedStyle(null);            }                        if (first) {                line.addChild(c, currentIB);                first = false;            } else {                previousIB.addInlineChild(c, currentIB, false);            }            previousIB = currentIB;        }        return currentIB;    }