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

Re: SVGAnimationElement.getStartTime

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 5 Feb 2009 13:51:48 +1100
To: www-svg@w3.org
Message-ID: <20090205025148.GC2051@arc.mcc.id.au>

Hi Brian.

Brian Birtles:
> At the same time, we'll need to ensure that implementations resolve the
> "current" interval in the same fashion, particularly when complex syncbase
> relationships are involved.
> 
> For example, given the following situation:
> 
>   <animate id="a" begin="5s"... />
>   <animate id="b" begin="a.begin+2s" ... />
> 
> Does a call to b.getStartTime() at the document begin return 7s, or throw an
> exception?
> 
> My understanding of SMIL is that it should return 7s as section 3.6.3 says,
> "For a begin or end time to be resolved, any referenced syncbase value must
> also be resolved."[1] As a.begin, is resolved, so should be b.begin.

As Olaf says, your understanding is correct.  I’ve added a subtest to
handle a syncbase like this:

  http://dev.w3.org/SVG/profiles/1.1F2/test/svg/animate-dom-01-f.svg

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Thursday, 5 February 2009 02:52:36 GMT

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