/src/main/java/org/htmlunit/html/DomNodeIterator.java
if ( parent == null ) { node = null; }
} else { if (beforeNode) { final DomNode left = getSibling(node, true); if (left == null) { final Node parent = node.getParentNode(); <extra_id_0> } DomNode follow = left; if (follow != null) { while (follow.hasChildNodes()) { final DomNode toFollow = getChild(follow, false); if (toFollow == null) {