Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

2 bytes added, 13:17, 29 November 2011
High-Level Mouse Lock Implementation Tasks
## "Mouse lock must succeed only if...the user-agent is the active application of the operating system" - '''johnno'''
## "The target of lock need not be in focus" - '''johnno'''
## "Mouse lock must succeed only if the target is in the DOM tree" - '''stevenAnachid'''## "If the target is removed from the DOM tree after mouse lock is entered then mouse lock will be lost." - '''stevenAnachid'''
## "If the mouse is already locked to the same element, a repeated call to lock will succeed and the successCallback called" - '''jboelen'''
## "If another element is locked [and lock() is called] a user agent must transfer the mouse lock to the new target and call the mouselocklost callback for the previous target" - '''jboelen'''
1
edit

Navigation menu