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

Re: SVGAnimationElement.getStartTime

From: Brian Birtles <birtles@gmail.com>
Date: Mon, 9 Feb 2009 16:11:58 +1100
Message-ID: <65fa1620902082111j5f22dc24jd84a9ba0449ed956@mail.gmail.com>
To: www-svg <www-svg@w3.org>

2009/2/5 Cameron McCormack <cam@mcc.id.au>
> > 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

Hi Cameron,

Thank you very much for following this up. Just to confirm however, I
believe Olaf's original message said that the start time was not
resolved until the syncbase had begun, i.e. in the test,

  for document time=0s, a6.getStartTime() throws INVALID_STATE_ERR exception
  for document time=6s, a6.getStartTime() returns 7

(This is how syncbase timing is normally implemented, and parts of
SMIL Animation seem to suggest this approach)

However, I was querying whether the section in SMIL Animation 3.6.3
that I quoted implied that even at document time=0s, a6.getStartTime()
returns 7.

I just want to confirm that you have discussed this and Olaf agrees
with the behaviour of the test case which is that even at document
time=0.5s, a6.getStartTime() returns 7 (as far as I can see).

Thanks again,

Brian
Received on Monday, 9 February 2009 05:12:37 GMT

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