1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <svg viewBox=
"0 0 300 200" xmlns=
"http://www.w3.org/2000/svg" onload=
"loaded()">
3 <title>Test mixed cardinality animations
</title>
4 <g transform=
"translate(50,20)">
6 <!-- Test that an animated list of different cardinality works properly -->
8 <animate attributeName=
"x" dur=
"5s" repeatCount=
"10" values=
"1; 2,3,4,5; 3"/>
11 <!-- Test that an animated list of different cardinality works properly -->
13 <animate attributeName=
"x" dur=
"7s" repeatCount=
"10" values=
"1; 2,3,4,5; 3"/>
16 <!-- Test that an sum works properly with mixed cardinality -->
18 <animate attributeName=
"x" additive=
"sum" accumulate=
"sum" dur=
"2s" repeatCount=
"25" values=
"0; 10; 20 20; 30" calcMode=
"linear" />
21 <!-- Test that an sum works properly with mixed cardinality -->
23 <animate attributeName=
"x" additive=
"sum" accumulate=
"sum" dur=
"2s" repeatCount=
"25" values=
"0 0; 10 10; 40" calcMode=
"linear" />
27 if (window.testRunner)
28 testRunner.waitUntilDone();
31 document.documentElement.setCurrentTime(
11);
32 if (window.testRunner)
33 testRunner.notifyDone();