Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

184 bytes removed, 17:05, 1 December 2011
m
Out of Scope Implementation: Removed earlier entry for user pref as it was a duplicate to the current one
# "Once mouse lock is acquired, stop mouse events from being fired to other elements that are not locked (e.g., only fire to locked element)." Only the fullscreen element will get events.
# "User agents may prompt for confirmation before locking, this preference may be saved as a content setting" How to deal with this? What UI do we use? See also, "Repeated escapes of mouse lock can signal user agent to not re-lock the mouse without more specific user intent gesture, e.g. similar to how Chrome suppresses repeated alert() calls"
# 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
# "The Mouse Lock API must exit the mouse lock state if the user agent, window, or tab loses focus"
# Clip the mouse so it doesn't leave the locked element with a mouse movement large enough to exceed its bounds. See:
1
edit

Navigation menu