This repository was archived by the owner on Feb 11, 2021. It is now read-only.

Description
Not sure if it's my (admittedly horrible) code, but: see https://jsfiddle.net/dbjvwcz1/ in Edge and then in, say, Chrome. despite e.pointerId being correct (the same as when setPointerCapture was called), releasePointerCapture throws Uncaught Error: InvalidPointerId
(I see that simply omitting the releasePointerCapture in my hacky code actually makes it work just fine, and is ok as per spec since the UA should automatically release any captured pointers anyway on pointerup/pointercancel ... but still, this does seem to point to some issue in the releasePointerCapture code)