Re: SVGAnimationElement.getStartTime

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 UTC