Re: SVG12: 'WheelEvent' "registration"

* Doug Schepers wrote:
>| >  The "wheel" event is triggered when the user rotates the rotational
>| >  input device. Listeners for this event may only be attached to the
>| >  Element node that is the Document node's documentElement. If a
>| >  listener for this event is attached to another node in the document,
>| >  the user agent MUST NOT trigger it when the event occurs. 
>| 
>| It seems what you are trying to say is that the event is 
>| dispatched only to the document element (and maybe that 
>| it does not bubble, as otherwise the listeners for the 
>| document node would be triggered).
>
>We are saying that the wheel event may only be attached to the rootmost
>'svg' element.  If you object to this, please respond right away with
>further clarification.

I am not familiar with the concept of attaching an event to an element;
I do not understand what you or the text are trying to convey. The words
you use to express whatever you are trying to express are meaningless to
me. They do not make sense. This is not rocket science, if you have code
like

  document.addEventListener('SVGMousewheel', callback, false);

then you are attaching a listener to something that is not the Document
node's documentElement. This is clearly outside of the "may only" clause
above, yet there does not seem anything bad about this code. And if you
have this code, and the SVGMousewheel event bubbles (which it does per
13.2), DOM Level 3 Events requires implementations to pass control to
the `callback` when the event occurs. Implementations "MUST NOT" do that
according to the text above. That, too, does not make sense.
-- 
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 Thursday, 27 July 2006 16:10:18 UTC