/src/main/java/org/htmlunit/html/impl/SimpleRange.java
endOffset_ = offset;endOffset_ = getMaxOffset( node) ;
endOffset_ = getMaxOffset ( node ) ;
} } public void selectNode(final DomNode node) { startContainer_ = node; startOffset_ = 0; endContainer_ = node; <extra_id_0> } public void selectNodeContents(final DomNode node) { startContainer_ = node.getFirstChild(); startOffset_ = 0; endContainer_ = node.getLastChild(); endOffset_ = getMaxOffset(node.getLastChild());