/src/main/java/org/htmlunit/html/impl/SimpleRange.java
endOffset_ = startOffset_;
endOffset_ = startOffset;
public SimpleRange(final DomNode startNode, final int startOffset, final DomNode endNode, final int endOffset) { startContainer_ = startNode; endContainer_ = endNode; startOffset_ = startOffset; endOffset_ = endOffset; if (startNode == endNode && startOffset > endOffset) { <extra_id_0> } } public DomDocumentFragment cloneContents() { final DomNode ancestor = getCommonAncestorContainer(); if (ancestor == null) { return new DomDocumentFragment(null);