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

Re: The synchronous load event is trouble

From: Henri Sivonen <hsivonen@iki.fi>
Date: Thu, 17 Dec 2009 10:19:47 +0200
Cc: www-svg@w3.org
Message-Id: <D83BA504-EA19-4F09-9D96-6E4DFA64F11A@iki.fi>
To: Dr.Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
On Nov 27, 2009, at 13:00, Dr. Olaf Hoffmann wrote:

> I don't know much about scripting, because I do not use it, 
> however to have a well defined 'time-zero-point' or begin of 
> the timeline is a requirement for animation and in tiny 1.2 for 
> the synchronisation of multimedia content and animations as well.
> This load event is related to the timeline begin in SVG 1.1.
[...]
> Do you think, there should be a more flexible choice for authors
> to indicate, at which time the timeline begins? 
> What should the behaviour of the document before the timeline has
> begun? Any ideas to provide a predictable behaviour for authors?

I'm suggesting that the load event fire from a task queue on the event loop as opposed to firing synchronously when the parser is on the call stack. The time-zero-point for animations can still be the time when the load event fires.

http://www.whatwg.org/specs/web-apps/current-work/#task-queue
-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Thursday, 17 December 2009 08:20:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:53:14 GMT