Re: SVG12: wheelDelta should be UIEvent.detail

* 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 UTC