smil-in-javascript/smil-in-javascript — pull request #8 by ewilligers (2014-07-16 01:18:41+00:00)
Title: getSimpleDuration and friends

Add the following to AnimationElement prototype:-
- targetElement property
- getSimpleDuration()
- getCurrentTime()
- getStartTime()

These are defined on SVG animation elements, even if the onload event
has not fired yet.

All duration and time values returned are in seconds.

To support testing of getCurrentTime, we modify the Web Animations polyfill so that, after _pauseAnimationsForTesting has been called, timeline currentTime is the pauseAt time.