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

Re: SVG12: "Animation event names"

From: Dean Jackson <dino@w3.org>
Date: Wed, 2 Nov 2005 20:23:01 +1100
Message-Id: <E49CD7E6-8178-4B8B-A02F-28F309334F6E@w3.org>
Cc: www-svg@w3.org
To: Bjoern Hoehrmann <derhoermi@gmx.net>

 >   In http://www.w3.org/TR/2005/WD-SVGMobile12-20050413/interact.html
 > section 13.2 the "Animation event name" does not make any sense to  
me.
 >
 > It obviously confuses animation syncbase and repeat values with  
events,
 > then apparently tries to suggest that animations cannot be based on
 > the standard events DOMFocusOut, DOMFocusIn, and DOMActivate, and the
 > SVG-specific focusin, focusout, and activate events must be used
 > instead, then tries to suggest that text, keyboard and wheel events
 > cannot trigger animation either (while e.g. mouse events can) and
 > finally points out that some events do not target elements and thus
 > cannot be used with animation.
 >
 > Please change the draft such that this column is removed and that
 > it is clear that animation may use any of the supported events.

You've made a similar misunderstanding to a previous message
(my reply to that is [1]).

The "Animation event name" is the name used within event-value
for animation begin and end. For example "circleA.click" corresponds
to the {"http://www.w3.org/2001/xml-events", "click"} event on
the element with id "circleA". You can find this information
described in the animation chapter under "begin" attribute syntax.

Here is the relevant extract:

event-value ::= ( Id-value "." )? ( event-ref ) ( S? ("+"|"-") S?  
Clock-value )?

Describes an event and an optional offset that determine the element  
begin. The animation begin is defined relative to the time that the  
event is raised. The list of event-symbols available for a given  
event-base element is listed in the 'Animation event name' column in  
[Complete list of supported events].

You're correct that not all events can be used as event-refs. In  
particular, events which have parameters, such as which key was  
pressed and how far the pointer/wheel was moved, would require an  
extension to the syntax. This will be considered in future versions  
of SVG.

Please respond within two weeks if you are not satisfied.

[1] http://lists.w3.org/Archives/Public/www-svg/2005Oct/0178.html
Received on Wednesday, 2 November 2005 09:23:05 GMT

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