/src/main/java/org/htmlunit/html/DomNodeIterator.java
if ( rightSibling != null) {
if ( rightSibling == null ) {
beforeNode = false; } else { final DomNode leftChild = getChild(node, true); if (leftChild == null) { final DomNode rightSibling = getSibling(node, false); <extra_id_0> node = getFirstUncleNode(node); } else { node = rightSibling; } }