Lines Matching refs:element
229 // We can only wrap if the last outputted node is an element that
266 // of an element (although this shouldn't happen if the endpoints returned
660 * not within a PRE element.
679 // output if the first piece of text is within a BLOCKQUOTE element.
698 * no intervening element that breaks flow. This is automatically handled
705 * of any element that breaks flow.
761 * appending text in a PRE element.
768 // split() will always return an array with at least one element.
809 * Appends a forced line break, which is the equivalent of a BR element.
911 HTML.Element element = tag.getElement();
913 if (BLANK_LINE_ELEMENTS.contains(element)) {
916 } else if (HTML4.BR_ELEMENT.equals(element)) {
917 // The <BR> element is special in that it always adds a newline.
920 } else if (element.breaksFlow()) {
924 if (HTML4.HR_ELEMENT.equals(element)) {
930 if (HTML4.BLOCKQUOTE_ELEMENT.equals(element)) {
933 } else if (HTML4.PRE_ELEMENT.equals(element)) {
935 } else if (HTML4.STYLE_ELEMENT.equals(element)) {
943 HTML.Element element = endTag.getElement();
945 if (BLANK_LINE_ELEMENTS.contains(element)) {
948 } else if (element.breaksFlow()) {
953 if (HTML4.BLOCKQUOTE_ELEMENT.equals(element)) {
956 } else if (HTML4.PRE_ELEMENT.equals(element)) {
958 } else if (HTML4.STYLE_ELEMENT.equals(element)) {