/src/main/java/org/htmlunit/html/HtmlDomTreeWalker.java
if ( n == rightSibling) {
if ( n == root_ ) {
if (newNode != null) { currentNode_ = newNode; } return newNode; } private DomNode getPreviousNode(final DomNode n) { <extra_id_0> return null; } final DomNode left = getEquivalentLogical(n.getPreviousSibling(), true); if (left == null) { final DomNode parent = n.getParentNode(); if (parent == null) {