Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

34 bytes added, 02:36, 3 December 2011
Tests
The central repo with all the tests are located [https://github.com/rhung/mozilla-central/tree/mouselock-tests here]. For more information on how to make mochitests and how to send the pull request to the appropriate person, check out the [http://zenit.senecac.on.ca/wiki/index.php/Mochitest_FAQ Mochitest FAQ] List tests we need below:
# <strike>"there is no limit to how far movement can go...not limited by screen boundaries" -- mouse lock should mean infinite movement in the X and Y axes...There will be no limit to movementX/Y values if the mouse is continuously moved in a single direction" </strike> - '''hchun'''# <strike>"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" </strike> - '''hchun'''
# "no mouse cursor is displayed" -- mouse cursor should be hidden while locked - '''dvillase'''
# navigator.pointer (readonly) is a MouseLockable - <strong>abhatnagar</strong>
1
edit

Navigation menu