Mouse gesture events

by 1 contributor:

This page has no content. Enrich MDN by contributing.


I added a note that MozMagnifyGesture and related events are chrome only. I based this on the following comment in the gecko source at browser/base/content/browser.js:985

// Simple gestures support
//
// As per bug #412486, web content must not be allowed to receive any
// simple gesture events.  Multi-touch gesture APIs are in their
// infancy and we do NOT want to be forced into supporting an API that
// will probably have to change in the future.  (The current Mac OS X
// API is undocumented and was reverse-engineered.)  Until support is
// implemented in the event dispatcher to keep these events as
// chrome-only, we must listen for the simple gesture events during
// the capturing phase and call stopPropagation on every event.

-- dflanagan

Document Tags and Contributors

Contributors to this page: dflanagan
Last updated by: dflanagan,