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