- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 30 Jun 2026 08:27:31 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 30 June 2026 15:27:35 UTC
annevk left a comment (whatwg/dom#1477) While adding companion test coverage in web-platform-tests/wpt#60997, I exercised the pre-remove step-2 branch that the existing parametric WPT test never reached (it only drives iterators forward with \`nextNode()\`). One of the new tests — removing an inclusive ancestor of the reference, with \`pointerBeforeReferenceNode\` true and no following node within root — exposes an interop bug: | Engine | Behavior | | ------ | -------- | | Firefox | Matches the spec: pointer flips to \`false\`, reference moves to the last inclusive descendant of the removed node's previous sibling. | | Chrome | Leaves the reference pointing at the now-detached node. | | Safari | Same as Chrome. | Filing as a heads-up; not a blocker for this PR. The spec is unambiguous about this case both before and after the fix here. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1477#issuecomment-4845209600 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1477/c4845209600@github.com>
Received on Tuesday, 30 June 2026 15:27:35 UTC