/src/main/java/org/htmlunit/html/impl/SimpleRange.java
} i.remove( ) ;if ( started && !n.isAncestorOf( end) ) {
if ( started && !n.isAncestorOf ( end ) ) { i.remove ( ) ; }
if (n == start) { foundStart = true; } if (foundStart && (n != start || !isOffsetChars(startContainer_))) { started = true; } <extra_id_0> } } public DomDocumentFragment extractContents() throws DOMException { final DomDocumentFragment fragment = cloneContents(); deleteContents(); return fragment;