1 <svg xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink" onload=
"loaded()">
3 <path id=
"path" pathLength=
"100" d=
"M-200,0 h400" />
5 <rect width=
"100%" height=
"100%" fill=
"lime"/>
7 <!-- calcMode="linear" -->
8 <rect x=
"10" y=
"10" width=
"100" height=
"100" fill=
"red"/>
9 <rect x=
"10" y=
"10" width=
"100" height=
"100" fill=
"lime">
10 <animateMotion dur=
"1s" keyPoints=
"0;1" keyTimes=
"0;1" calcMode=
"linear">
11 <mpath xlink:
href=
"#path" />
15 <!-- calcMode="paced" -->
16 <rect x=
"10" y=
"110" width=
"100" height=
"100" fill=
"red"/>
17 <rect x=
"10" y=
"110" width=
"100" height=
"100" fill=
"lime">
18 <animateMotion dur=
"1s">
19 <mpath xlink:
href=
"#path" />
24 if (window.testRunner)
25 testRunner.waitUntilDone();
28 document.documentElement.setCurrentTime(
0.5);
29 if (window.testRunner)
30 testRunner.notifyDone();