Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

12 bytes added, 13:21, 29 November 2011
m
High-Level Mouse Lock Implementation Tasks: Taking Test
## lock(target) expects a DOM element, and takes two optional callbacks: successcallback, failurecallback.
## lock() should return immediately and call callbacks when lock succeeds or fails
## "Mouse lock must succeed only if the window is in focus"- mjschranz
## "Mouse lock must succeed only if...the user-agent is the active application of the operating system"
## "The target of lock need not be in focus"
1
edit

Navigation menu