Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

37 bytes added, 21:59, 9 December 2011
Tests
# <s>"When unlocked, the system cursor can exit and re-enter the user agent window. If it does so and the user agent was not the target of operating system mouse move events then the most recent mouse position will be unknown to the user agent and movementX/Y can not be computed and must be set to zero"</s> - '''moussa1'''
# <s>"When mouse lock is enabled clientX, clientY, screenX, and screenY must hold constant values as if the mouse did not move at all once mouse lock was entered"</s> - '''jbraffoul'''
# <s>"The Mouse Lock API must exit the mouse lock state if the user agent, window, or tab loses focus"</s> - '''drigato'''- test_exitMouselockOnLoseFocus.html
# Test to make sure that mouse lock only occurs when an element is in full screen mode (not F11 or done via the menus). This includes:
## Switching focus to another window - '''jsiu3'''

Navigation menu