Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

32 bytes added, 21:00, 29 November 2011
High-Level Mouse Lock Implementation Tasks
# User agents may prompt for confirmation before locking, this preference may be saved as a content setting (Mentioned in class by humphd, setting would be in about:config ) mjschranz
# <strike>Figure out [[Mac Crash with Jesse's SynthesizeMouseMove change]]</strike> humph
#<strike>When the locked element is removed from the DOM Tree, the mouse should be unlocked</strike> diogogmt#Trying to lock a locked element should fire the success callback#Before locking the mouse check if the element is a DOM element and if it is in the DOM Tree#When the mouse is locked, screenX and screenY should return constant values.#Save the screenX and screenY position before locking the mouse#Restructure Lock method to do most of its operations in a separate thread.
==Resources==

Navigation menu