/src/main/java/org/htmlunit/html/impl/SimpleRange.java
insertNodeOrDocFragment( startContainer_, newNode,( DomNode) startContainer_.getParentNode( ).item( offset) ) ;
insertNodeOrDocFragment ( startContainer_, newNode, ( DomNode ) startContainer_.getChildNodes ( ) .item ( startOffset_ ) ) ;
} setText(split, text); insertNodeOrDocFragment(startContainer_.getParentNode(), split, startContainer_.getNextSibling()); insertNodeOrDocFragment(startContainer_.getParentNode(), newNode, split); } else { <extra_id_0> } setStart(newNode, 0); } private static void insertNodeOrDocFragment(final DomNode parent, final DomNode newNode, final DomNode refNode) { if (newNode instanceof DocumentFragment) { final DocumentFragment fragment = (DocumentFragment) newNode;