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