ISSUE-106 (mouse capture): Consider adding mouse capture/release API [DOM3 Events]

ISSUE-106 (mouse capture): Consider adding mouse capture/release API [DOM3 Events]

http://www.w3.org/2008/webapps/track/issues/106

Raised by: Doug Schepers
On product: DOM3 Events

It's sometimes desirable to redirect all events of a certain type to a particular element (for example, when dragging a scrollbar or a shape, you may want to allow the mousemove events to all be directed to that element).

To do this, IE implements SetCapture, ReleaseCapture, and GetCapture:
* http://msdn.microsoft.com/en-us/library/ms646262%28VS.85%29.aspx
* http://msdn.microsoft.com/en-us/library/ms646261%28VS.85%29.aspx
* http://msdn.microsoft.com/en-us/library/ms646257%28VS.85%29.aspx

Mozilla has recently added this as well:
 http://enndeakin.wordpress.com/2009/08/27/mouse-capturing/

We should consider adding this to DOM3 Events or DOM4 Events.

Received on Monday, 19 October 2009 05:57:44 UTC