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

Re: SVG12: 'WheelEvent' "registration"

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 23 Dec 2005 10:33:54 +0100
To: Robin Berjon <robin.berjon@expway.fr>
Cc: www-svg@w3.org
Message-ID: <cugnq19o2hgkbo5jic87a2u8jrlbbmoq2o@hive.bjoern.hoehrmann.de>

* Robin Berjon wrote:
> > I am not sure what it means to register an event on an
> > element, but it seems processing is not defined when this requirement
> > is not met.
>
>The draft has been changed so as to use the same terminology as DOM 3  
>Events and to specify that UAs must not trigger event listeners for  
>this event attached to nodes other than the document's root element  
>node.

This is now

  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). The text also
violtes the assertion that RFC 2119 do not appear in all uppercase in
the draft.
-- 
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, 23 December 2005 09:34:19 GMT

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