W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2009

Re: Touch and gestures events

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Mon, 19 Oct 2009 23:11:50 +0300
Message-ID: <4ADCC806.5040901@helsinki.fi>
To: João Eiras <joaoe@opera.com>
CC: public-webapps@w3.org
On 10/19/09 8:56 PM, João Eiras wrote:
 > to manipulate the objects you have on your device/OS.
>
> Pan is scrolling for which browsers already fire events. The behavior
> for the scroll event would need to change though, so it would be fired
> before the event, and be cancelable.
Well, scroll event indicates that something has been scrolled. So we 
shouldn't change its behavior.
Pan is closer to wheel events.


> Scale is the zooming feature which is also supported in many desktop
> browsers and mobile browsers, but lacks events.
> Rotation of the entire viewport is a UI feature, like when you tilt the
> device.
>
> These are all UI events, like focus and blur, and none of them are tied
> to gestures or mouse events.
But web page should be able to capture "zoom" etc.
For example Google maps might want to use it, if zooming happens above 
the map. So it is in a way related to mouse or whatever pointer.


> Therefore they should be completely
> separate from any kind of mouse event feature. Obviously, the scroll and
> zoom events would need a target which would be the element with focus,
Why the element with focus? Why not the element under cursor or 
something? (Similar to mouse wheel, which can be used to zoom, at least 
in Firefox)


-Olli
Received on Monday, 19 October 2009 20:12:32 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:34 GMT