if ( InlineUtil.isBreak( node ) ) {
if ( LayoutFactory.isBreak( node ) ) {
    private InlineBox calculateInline( Context c, Node node, int avail, int max_width,            LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align ) {        //u.p("line calc with avail = " + avail);        // calculate the starting index        int start = 0;        if ( prev != null && prev.node == node ) {            start = prev.end_index;        }        // get the text of the node        String text = node.getNodeValue();        //u.p("calc inline for node: " + node);        //u.p("text = " + text);        // transform the text if required (like converting to caps)        // this must be done before any measuring since it might change the        // size of the text        text = TextUtil.transformText( c, node, text );        //u.p("text = " + text);        Font font = FontUtil.getFont( c, node );        if ( isReplaced( node ) ) {            //u.p("is replaced");            return LineBreaker.generateReplacedInlineBox( c, node, avail, prev, text, prev_align, font );        }        if ( isFloatedBlock( node, c ) ) {            //u.p("is floated");            return LineBreaker.generateFloatedBlockInlineBox( c, node, avail, prev, text, prev_align, font );        }        if ( InlineUtil.isBreak( node ) ) {            //u.p("is break");            return LineBreaker.generateBreakInlineBox( node );        }        if ( LineBreaker.isWhitespace( c, containing_block ) ) {            //u.p("is whitespace");            return LineBreaker.generateWhitespaceInlineBox( c, node, start, prev, text, prev_align, font );        }        // ==== unbreakable long word =====        if ( LineBreaker.isUnbreakableLine( c, node, start, text, avail, font ) ) {            //u.p("is unbreakable");            //u.p("node = " + node);            //u.p("start = " + start);            //u.p("text = " + text);            //u.p("avail = " + avail);            //u.p("font = " + font);            return LineBreaker.generateUnbreakableInlineBox( c, node, start, text, prev, prev_align, font );        }        // rest of this string can fit on the line        if ( LineBreaker.canFitOnLine( c, node, start, text, avail, font ) ) {            //u.p("can fit on line");            return LineBreaker.generateRestOfTextNodeInlineBox( c, node, start, text, prev, prev_align, font );        }        // normal multiline break        //u.p("is normal multiline break");        return LineBreaker.generateMultilineBreak( c, node, start, text, prev, prev_align, avail );    }