/src/main/java/org/htmlunit/html/impl/SimpleRange.java
if ( startClone == null) {
if ( ancestor == null ) {
if (startNode == endNode && startOffset > endOffset) { endOffset_ = startOffset; } } public DomDocumentFragment cloneContents() { final DomNode ancestor = getCommonAncestorContainer(); <extra_id_0> return new DomDocumentFragment(null); } final DomNode ancestorClone = ancestor.cloneNode(true); DomNode startClone = null; DomNode endClone = null; final DomNode start = startContainer_;