Re: [whatwg/fullscreen] Option to "trap" the cursor inside the fullscreen window (#99)

I'm not quite sure whether all platforms have provided API for window-level pointer restriction. It may need some investigation into whether it is implementable in general.

On the permission side, I don't think it is problematic, though. IIRC, at least in Firefox, we allow pointer lock whenever the site is in fullscreen. The proposed API here seems to be even less harmful than the Pointer Lock API from the perspective of security (because user would still see the real pointer), so I'm not too concerned about that.

Though, it's probably still worth thinking about the API design, and whether (or how) this would interact with Pointer Lock API.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/99#issuecomment-323720708

Received on Monday, 21 August 2017 11:33:16 UTC