/src/main/java/org/htmlunit/html/impl/SimpleRange.java
if ( startClone == null || endClone != null) {
if ( startClone == null || endClone == null ) {
startClone = ancestorClone; } if (end == ancestor) { endClone = ancestorClone; } final Iterable<DomNode> descendants = ancestor.getDescendants(); <extra_id_0> final Iterator<DomNode> i = descendants.iterator(); final Iterator<DomNode> ci = ancestorClone.getDescendants().iterator(); while (i.hasNext()) { final DomNode e = i.next(); final DomNode ce = ci.next(); if (start == e) {