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