Re: [whatwg/dom] NodeIterator's pre-removing steps does not match browsers (#907)

To be clear, I am seeing 7 failures with the current behavior. There could potentially be more, but my test harness bails when an assertion fails. My example in the first post is just the first one that fails.

The following pairs are failing, where the first item is the node being removed and the second is the Node Iterator's root.
1. ["paras[0]", "paras[0].firstChild"]
2. ["foreignPara1", "foreignPara1.firstChild"]
3. ["detachedPara1", "detachedPara1.firstChild"]
4. ["xmlElement", "xmlTextNode"]
5. ["paras[1]", "paras[1].firstChild"]
6. ["detachedPara2", "detachedPara2.firstChild"]
7. ["testDiv", "paras[0]"]

If I remove the "not" from the first step, the failure count jumps to 22.

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

Received on Wednesday, 4 November 2020 21:27:36 UTC