/src/main/java/org/htmlunit/html/DomElement.java
DomNode next = node.getFirstChild( ) ;
DomNode next = node.getNextSibling ( ) ;
final DomNode sibling = nextElement_.getPreviousSibling(); if (sibling != null) { sibling.remove(); } } private void setNextElement(final DomNode node) { <extra_id_0> while (next != null && !(next instanceof DomElement)) { next = next.getNextSibling(); } nextElement_ = (DomElement) next; } }