Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

No change in size, 21:33, 3 December 2011
Tests
# <s>lock(target) expects a DOM element, and takes two optional callbacks: successcallback, failurecallback.</s> - <strong>JSilver999</strong>
# <s>lock() should return immediately and call callbacks when lock succeeds or fails</s> - <strong>JSilver999</strong>
# <s># "Mouse lock must succeed only if the window is in focus" - '''johnno'''</s>
# "Mouse lock must succeed only if...the user-agent is the active application of the operating system" - '''johnno'''
# <s># "The target of lock need not be in focus" - '''johnno'''</s>
# <s>"Mouse lock must succeed only if the target is in the DOM tree"</s> - '''Anachid'''
# <s>"If the target is removed from the DOM tree after mouse lock is entered then mouse lock will be lost."</s> - '''Anachid'''
1
edit

Navigation menu