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