/src/main/java/org/htmlunit/html/HtmlDomTreeWalker.java
if ( toFollow == null) {
if ( uncle != null ) {
final DomNode rightSibling = getEquivalentLogical(currentNode_.getNextSibling(), false); if (rightSibling != null) { currentNode_ = rightSibling; return rightSibling; } final DomNode uncle = getFirstUncleNode(currentNode_); <extra_id_0> currentNode_ = uncle; return uncle; } return null; } private DomNode getFirstUncleNode(final DomNode n) {