W3C home > Mailing lists > Public > public-webapi@w3.org > July 2006

Mouse Capture APIs

From: Antoine Quint <ml@graougraou.com>
Date: Wed, 12 Jul 2006 16:49:50 +0100
Message-Id: <4C747939-80A7-40D9-9D54-6BE53730BAAE@graougraou.com>
To: public-webapi@w3.org

Hi there,

I took a look at the archives and did not see any discussion so far  
about adding mouse capture capabilities. In my experience of  
designing UI widgets in SVG, mouse capture is absolutely essential in  
order to provide to the user an experience similar to that he/she  
would be used to in "traditional" native platform applications. In  
the Adobe SVG Viewer, a captureMouse() method allows, following a  
mousedown event, to hijack all mouse events in the system and  
redirect them to a single event handler, making it so that any other  
mouse event handlers registered on other elements do not get  
triggered, etc. Capture is automatically released once the user  
releases the mouse button ("mouseup"), wherever it is, not just on  
top of the main browser window. While I don't have much experience  
with it, I've been told that IE has similar capabilities with its  
setCapture() method.

Both these methods are proprietary of course, and it would be useful  
to have a standard way to express this capability.

Antoine Quint  Fuchsia Design
SVG & Client-side XML Consulting
W3C SVG WG Invited Expert
Received on Wednesday, 12 July 2006 15:50:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC