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