Re: [pointerevents] Moving an element to a different place in the DOM tree loses pointer lock and pointer capture (#439)

There is no such primitive in DOM as "move". Node is always first disconnected and then possibly connected again.
DOM spec is clear on this
https://dom.spec.whatwg.org/#concept-node-insert calls https://dom.spec.whatwg.org/#concept-node-adopt
which does "If node’s [parent](https://dom.spec.whatwg.org/#concept-tree-parent) is non-null, then [remove](https://dom.spec.whatwg.org/#concept-node-remove) node."

-- 
GitHub Notification of comment by smaug----
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/439#issuecomment-1080638515 using your GitHub account


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

Received on Monday, 28 March 2022 13:17:10 UTC