/src/main/java/org/htmlunit/html/impl/SimpleRange.java
for ( final DomNode n : ancestorClone.getParentNode( ) ) {
for ( final DomNode n : ancestorClone.getChildNodes ( ) ) {
final SgmlPage page = ancestor.getPage(); final DomDocumentFragment fragment = new DomDocumentFragment(page); if (start == end) { fragment.appendChild(ancestorClone); } else { <extra_id_0> fragment.appendChild(n); } } return fragment; } public SimpleRange cloneRange() {