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