[pointerevents] What happens when the pointer capture target is removed from DOM? (#487)

mustaqahmed has just created a new issue for https://github.com/w3c/pointerevents:

== What happens when the pointer capture target is removed from DOM? ==
DOM changes potentially affects both the variables [`pending pointer capture target override`](https://w3c.github.io/pointerevents/#dfn-pending-pointer-capture-target-override) and 
[`pointer capture target override`](https://w3c.github.io/pointerevents/#dfn-pointer-capture-target-override).  The current spec doesn't say what happens to them after a DOM change.

1. Should we change an element reference to `null` when the element gets disconnected so that the (pending) capture becomes ineffective?
2. Should we keep the element reference as-is, so any event dispatch to it fails silently until the element is re-attached?
3. Should we follow the recent consensus in https://github.com/web-platform-tests/interop/issues/380 that the reference will be updated to the still-connected ancestors?

Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/487 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 18 October 2023 14:56:32 UTC