The SVG spec includes support for starting an animation based on hyperlinking. See:
Also at least one of the W3C SVG 1.1 Full testsuite tests requires this:
This bug depends on being able to seek to an earlier point in the timeline: bug 492458.
We basically need to do two things:
* When we start the timeline after the document is loaded, we need to
check for a hash and trigger any animation as applicable (be careful
of pauseAnimations being called before load, that on unpauseAnimations
things work correctly).
* We need to have the document listen for 'hashchange' events and trigger
animations as appropriate. Something like:
nsCOMPtr<nsIDOMEventTarget> evtTarget = do_QueryInterface(doc);
the patch in bug 512525 fixes this too.
patch in bug 512525 implemented this.