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