Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

99 bytes added, 21:52, 9 December 2011
Tests
# <s>"The concept of the mouse cursor will have been removed, and it will not move off the window or be clamped by a screen edge"</s> - '''hchun''' - file_limitlessScroll.html
# "no mouse cursor is displayed" -- mouse cursor should be hidden while locked - '''dvillase'''
# <s>navigator.pointer (readonly) is a MouseLockable</s> - <strong>abhatnagar</strong>- test_navigatorPointer.html# <s>MouseLockable has lock(), unlock(), islocked()</s> - <strong>abhatnagar</strong>- test_mouseLockableHasRequiredMethods.html
# <s>islocked() returns true if mouse is locked, false if not locked</s> - <strong>JSilver999</strong>
# <s>lock(target) expects a DOM element, and takes two optional callbacks: successcallback, failurecallback.</s> - <strong>JSilver999</strong>
# 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'''
# <s>Tests for mouselocklost event</s> - '''stsang'''- file_mouselocklost.html
=====Reviewing Tests=====

Navigation menu