W3C home > Mailing lists > Public > www-svg@w3.org > August 2006

Re: SVG12: wheelDelta should be UIEvent.detail

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 08 Aug 2006 18:09:15 +0200
To: "Scott Hayman" <shayman@rim.com>
Cc: <www-svg@w3.org>
Message-ID: <1kchd252gs1rrl9afi4r39b173e5jrs642@hive.bjoern.hoehrmann.de>

* Scott Hayman wrote:
>My comment was based upon the fact that the 'detail' attribute of
>MouseEvent from DOM Level 2 [1] "indicates the number of times a mouse
>button has been pressed and released over the same screen location
>during a user action".  As such, this attribute cannot be used by any
>event that inherits from MouseEvent.

It depends on the event type what context information is made available
through the event object; the SVG Tiny 1.2 draft does not require imple-
mentations in any way to make available information about mouse presses
and releases available through SVGMousewheel event objects, especially
not through UIEvent.detail. In terms of the DOM Event model, the .detail
attribute is not in use for such event objects. The introduction of the
.wheelDelta attribute is, therefore, completely unnecessary.

If you think this is somehow unclear from the DOM Level 3 Events draft,
please make your case on the public-webapi mailing list; I can then see
how to make this yet more obvious in the document; though note that the
text you cite is no longer part of the DOM Events specification.
-- 
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 Tuesday, 8 August 2006 16:09:22 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:35 GMT