W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2009

SVG 1.2 Animation question

From: Lee Martineau <lee.martineau@quickoffice.com>
Date: Wed, 17 Jun 2009 15:01:27 -0500
To: "public-svg-wg@w3.org" <public-svg-wg@w3.org>
CC: Stephane Heintz <stephane.heintz@quickoffice.com>
Message-ID: <A13D0B44629697468E9C6AE200CFD39A715E3A0A7E@mailkeeper.mdigitalm.com>
Hello WG,

A question from my colleague...

After close review of some of the W3C SVG test slides, we believe there might be some inconsistency in the interpretation of a particular clause of the SMIL specification.

The slide media-audio-207-t.svg seems to expect that an animation that has more "begin" times than "end" times should not restart if a begin time comes later than the latest end time. This behavior seems valid, as it is described by the SMIL spec in this algorithm :

http://www.w3.org/TR/2005/REC-SMIL2-20051213/smil-timing.html#Timing-BeginEnd-LC-End

However, this rule contradicts the expected behavior of the slide udom-svg-209-t.svg. In this slide (of which a simplified version is attached), scripting is used to start/stop an animation by adding begin and end times to it. The slide expects that an animation can be started and stopped twice by calling twice beginElement() and endElement(). Our understanding of the sequence of events is the following :

- beginElement() is called - a "begin" time is added and the animation starts
- endElement() is called - an "end" time is added and the animation stops
- beginElement() is called - we are now in the same scenario as the one described in media-audio-207-t.svg : there are more begin times than end times and the latest begin is greater than the latest end. We believe the animation should not restart because of the algorithm mentioned above, though the slide's description expects it to restart.

Thank you for your feedback on this issue.
Received on Wednesday, 17 June 2009 20:02:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 17 June 2009 20:02:12 GMT