W3C home > Mailing lists > Public > www-smil@w3.org > October to December 2010

Re: Events when adding and removing animation elements in play

From: Jack Jansen <Jack.Jansen@cwi.nl>
Date: Sun, 10 Oct 2010 22:38:38 +0200
Cc: www-smil@w3.org
Message-Id: <1D110BFA-5D3C-45A4-A62D-77BC8035D6FB@cwi.nl>
To: Brian Birtles <birtles@gmail.com>

On 8 okt 2010, at 02:45, Brian Birtles wrote:

> Dear all,
> 
> I wish to clarify the expected behaviour of animations that are
> dynamically removed and added from a document with regards to the
> events that are generated.


Brian,
I think you'll have to ask this in a more SVG-specific forum, at least: you'll be more likely to find people there who have an opinion on this for SVG, which seems to be your main interest.

For SMIL 2.0 we specifically allowed only very limited modification of the DOM tree (only adding begin times, really), because the semantics of modifying the live document on the fly are horrendous. At that time, we thought that a later incarnation of the SYMM group might tackle this, but so far that hasn't happened:-)

I'm personally rather interested in the subject of modifying active documents, and we've written a paper on preliminary work for Document Engineering this year, with the plan to work things out more thoroughly for next year. But so far the results are that allowing any random modification to an active document is probably out of the question, unless you're willing to recompute the whole timegraph, and even then describing the semantics of the changes will probably be (a) very difficult and (b) unexpected by end users. But the good news is that if you disallow some things (such as removing a node on which other nodes depend for their timing) it may be possible to come up with reasonable semantics. But, as said: the actual work still has to be done...
--
Jack Jansen, <Jack.Jansen@cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma Goldman
Received on Sunday, 10 October 2010 20:39:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 10 October 2010 20:39:15 GMT