/src/main/java/org/htmlunit/html/impl/SimpleRange.java
setStart( newParent, getMaxOffset( newParent) ) ;
setEnd ( newParent, getMaxOffset ( newParent ) ) ;
startOffset_ = offset; } public void surroundContents(final DomNode newParent) { newParent.appendChild(extractContents()); insertNode(newParent); setStart(newParent, 0); <extra_id_0> } @Override public boolean equals(final Object obj) { if (!(obj instanceof SimpleRange)) { return false; }