Re: [w3c/pointerlock] movementX/Y when moving out of or into an iframe (#16)

I think from a user's perspective, this is similar to the case when a locked mouse pointer (in a page w/o subframes) leaves the window & comes back:
- If the page sees the mousemoves outside its window (through OS level locking support), why an iframe won't?
- If the page doesn't see the mousemoves outside its window, the only feasible solution seems to be to compute the offsets from the last event the page knows about when the mouse comes back. The iframe case seems no different.

Assuming I didn't miss anything, can't the spec simply say that the "last mouse event" used in offset calculation is "last in current browsing context" (leaving the "current browsing context" defined in OS-dependent way)?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/pointerlock/issues/16#issuecomment-274110856

Received on Friday, 20 January 2017 16:12:20 UTC