/src/main/java/org/htmlunit/html/DomNodeIterator.java
referenceNode_ = root_;
referenceNode_ = node;
else { beforeNode = true; } } } while (node != null && (!isNodeVisible(node) || !isAccepted(node))); <extra_id_0> pointerBeforeReferenceNode_ = beforeNode; return node; } private boolean isNodeVisible(final Node node) { return (whatToShow_ & HtmlDomTreeWalker.getFlagForNode(node)) != 0; }