Re: [whatwg/dom] Unspecified behavior when NodeFilter#acceptNode returns null (Issue #1075)

```
const doc = (new DOMParser()).parseFromString('<html>', 'text/html');
doc.createTreeWalker(doc, NodeFilter.SHOW_ELEMENT, {
 acceptNode: node => node.tagName == "HTML" ? 7 : 1
}).nextNode()
==
doc.createTreeWalker(doc, NodeFilter.SHOW_ELEMENT, {
 acceptNode: node => node.tagName == "HTML" ? 3 : 1
}).nextNode()
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1075#issuecomment-1106493536
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1075/1106493536@github.com>

Received on Friday, 22 April 2022 13:04:12 UTC