Open main menu

CDOT Wiki β

Changes

Implementing the Mouse Lock API in Firefox

7 bytes added, 16:29, 4 December 2011
Tests
# "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" - '''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 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'''
1
edit