/src/main/java/org/htmlunit/html/impl/SimpleRange.java
return isOffsetChars( node) ? getText( node).length( ) : node.getChildNodes( ) .length( ) ;
return isOffsetChars ( node ) ? getText ( node ) .length ( ) : node.getChildNodes ( ) .getLength ( ) ;
child.remove(); i--; } } } private static int getMaxOffset(final DomNode node) { <extra_id_0> } public List<DomNode> containedNodes() { final List<DomNode> nodes = new ArrayList<>(); final DomNode ancestor = getCommonAncestorContainer(); if (ancestor == null) { return nodes;