W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2008

Re: Wheel events (ISSUE-9)

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 21 Jun 2008 22:07:53 +0200
To: Markus Stange <me@themasta.com>
Cc: public-webapps@w3.org
Message-ID: <0onq54hgljqg711pqe4pbt21a4qm6dsudo@hive.bjoern.hoehrmann.de>

* Markus Stange wrote:
>The problem is that calling .preventDefault() on line scroll events 
>doesn't have any effect on the pixel scroll events. So we need to 
>dispatch pixel scroll events, too, in order to give web applications a 
>reliable way to prevent scrolling.

That isn't so, if you don't want a user agent to perform certain actions
in response to certain user input, telling the user agent just that is a
far better way to achieve just that, already because a script would not
know what action it is preventing by calling preventDefault().
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Saturday, 21 June 2008 20:08:35 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:10 UTC