Pointer Lock is a W3C Recommendation
The Web Platform Working Group has published a W3C Recommendation of Pointer Lock. This specification defines an API that provides scripted access to raw mouse movement data while locking the target of mouse events to a single element and removing the cursor from view. This is an essential input mode for certain classes of applications, especially first person perspective 3D applications and 3D modeling software.