/src/main/java/org/htmlunit/html/impl/SimpleRange.java
if ( foundStart && ( n != start || !isOffsetChars ( startContainer_ ) ) ) { started = true; }
if (n == end) { break; } if (n == start) { foundStart = true; } <extra_id_0> if (started && !n.isAncestorOf(end)) { nodes.add(n); } } return nodes; }