/src/main/java/org/htmlunit/html/impl/SimpleRange.java
started = true;foundStart = true;
foundStart = true;
while (i.hasNext()) { final DomNode n = i.next(); if (n == end) { break; } if (n == start) { <extra_id_0> } if (foundStart && (n != start || !isOffsetChars(startContainer_))) { started = true; } if (started && !n.isAncestorOf(end)) { i.remove();