Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

31 bytes added, 23:06, 9 December 2011
Tests
# <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'''- test_doubleLockCallBack.html
# <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'''
# <s>"The Mouse Lock API must provide a default system action to unlock the mouse" namely ESC.</s> - '''CloudScorpion''' - file_defaultUnlock.html

Navigation menu