Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

40 bytes added, 22:19, 9 December 2011
Tests
# <s>"Mouse lock must succeed only if...the user-agent is the active application of the operating system"</s> - '''johnno''' - test_UserAgentIsActive.html
# <s>"The target of lock need not be in focus" - '''johnno'''</s> - file_targetOutOfFocus.html
# <s>"Mouse lock must succeed only if the target is in the DOM tree"</s> - '''Anachid'''- file_DOMtree.html# <s>"If the target is removed from the DOM tree after mouse lock is entered then mouse lock will be lost."</s> - '''Anachid'''- file_DOMtree.html
# <s>"If the mouse is already locked to the same element, a repeated call to lock will succeed and the successCallback called"</s> - '''jboelen'''
# <s>"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"</s> - '''jboelen'''

Navigation menu