W3C home > Mailing lists > Public > www-svg@w3.org > December 2005

Re: SVG12: wheelDelta should be UIEvent.detail

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 30 Dec 2005 08:22:26 +0100
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: www-svg@w3.org
Message-ID: <6in9r15vioepd84euqakq60h50kamqfiqb@hive.bjoern.hoehrmann.de>

* Bjoern Hoehrmann wrote:
>I don't think this is right decision; I am concerned that authors will
>misremember the 'wheelDelta' name and mistype it as e.g. 'wheelRotation'
>whereas the 'detail' name is easy to remember and consistent with e.g.
>the mouse and time events. The implementation cost of re-using the de-
>tail member is also lower than making up a new member and keeping the
>then unused detail member.

I should add that as the wheelDelta attribute is read-only, it is not
possible to create such an event using the DOM Level 3 createEvent
method as the initUIEventNS method will only initialize the detail
member and not the wheelDelta one, unless the event object implements
additional interfaces in environments that support createEvent.
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 Friday, 30 December 2005 07:28:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:05 UTC