- From: Jon Ferraiolo <jon@ferraiolo.com>
- Date: Tue, 19 Nov 2002 08:51:18 -0800
- To: "'Jim Ley'" <jim@jibbering.com>, <www-svg@w3.org>
Jim, In the example you give below, the reason that the inner <svg>'s timeline doesn't start upon triggering of its onload event is that there is only one timeline in SVG 1.0/1.1. If SVG added the notion of multiple nested time containers, then what you propose would be possible. If only for backwards compatibility, even if multiple time containers were supported in a future version of SVG, the default would still have to that nested time containers defaulted to being 100% in synch with the parent time container. One possible syntax would be to add the 'syncBehavior' attribute from SMIL2 (http://www.w3.org/TR/smil20/smil-timing.html#adef-syncBehavior) into SVG. Then your example might read: <svg> <svg syncBehavior="independent"> <animate> </svg> sleep() </svg> (I don't think that's enough, however. We probably also need some attribute on the outermost <svg> saying something about allowing animations to start while progressive rendering occurs. Hopefully Patrick Schmitz is paying attention and has some suggestions.) Jon -----Original Message----- From: www-svg-request@w3.org [mailto:www-svg-request@w3.org] On Behalf Of Jim Ley Sent: Tuesday, November 19, 2002 8:17 AM To: www-svg@w3.org Subject: Re: 1.2 feedback: Streaming "Vincent Hardy" <vincent.hardy@sun.com> wrote in message news:3DDA62D4.90109@sun.com... > With the current spec., animations cannot start before the document is > fully loaded because the time line starts on root element's onload (see > 19.2.2: "the document begin for a given SVG document fragment is defined > to be the exact time at which the 'svg' element's SVGLoad event is > triggered.") and the root element's onload is triggered when "the user > agent has fully parsed the element and its descendants" (see 16.2, > SVGLoad in the interactivity chapter). Yes, but <svg> <svg> <animate> </svg> sleep() </svg> The animate on the inner SVG should start as soon as that svg is loaded, since that is when the onload fires, ASV does not fire the inner SVG's onload until after the full document is loaded though. Jim.
Received on Tuesday, 19 November 2002 11:51:59 UTC