1 <?xml version=
"1.0" encoding=
"UTF-8"?>
4 animateTransform parsing code coverage for translate, rotate, skewX
6 TODO: does not test e/E exponent notation
9 <svg xmlns=
"http://www.w3.org/2000/svg" width=
"800px" height=
"600px">
10 <g transform=
"translate(-90, -90)">
11 <circle fill=
"none" stroke=
"black" stroke-width=
"3" cx=
"200" cy=
"200" r=
"100" />
12 <line x1=
"200" y1=
"200" x2=
"300" y2=
"200" stroke=
"red" stroke-width=
"30" stroke-linecap=
"round">
13 <animateTransform attributeName=
"transform" type=
"rotate" from=
" 0, 200, 200" to=
" 360, 200, 200"
16 <line x1=
"200" y1=
"200" x2=
"300" y2=
"200" stroke=
"green" stroke-width=
"20" stroke-linecap=
"round">
17 <animateTransform attributeName=
"transform" type=
"rotate" from=
" 0 200 200" to=
" 360 200 200"
20 <line x1=
"200" y1=
"200" x2=
"300" y2=
"200" stroke=
"blue" stroke-width=
"10" stroke-linecap=
"round">
21 <animateTransform attributeName=
"transform" type=
"rotate" from=
" 0,200,200" to=
" 360,200,200"
24 <line x1=
"200" y1=
"200" x2=
"300" y2=
"200" stroke=
"white" stroke-width=
"5" stroke-linecap=
"round">
25 <animateTransform attributeName=
"transform" type=
"rotate" from=
" 0,+200 +200" to=
" 360 +200 +200"
29 <g transform=
"translate(300, 10)">
30 <rect fill=
"none" stroke=
"black" stroke-width=
"3" x=
"0" y=
"0" width=
"200" height=
"200" />
31 <circle fill=
"red" cx=
"0" cy=
"0" r=
"30">
32 <animateTransform attributeName=
"transform" type=
"translate" from=
"0, 0" to=
"200, 200" dur=
"5s" />
34 <circle fill=
"green" cx=
"0" cy=
"0" r=
"20">
35 <animateTransform attributeName=
"transform" type=
"translate" from=
"0 0" to=
"200 200" dur=
"5s" />
37 <circle fill=
"blue" cx=
"0" cy=
"0" r=
"10">
38 <animateTransform attributeName=
"transform" type=
"translate" from=
"0,0" to=
"200,200" dur=
"5s" />
40 <circle fill=
"yellow" cx=
"0" cy=
"0" r=
"5">
41 <animateTransform attributeName=
"transform" type=
"translate" from=
" +0,+0" to=
" +200 +200" dur=
"5s" />
44 <g transform=
"translate(10, 300)">
45 <rect fill=
"none" stroke=
"black" stroke-width=
"3" x=
"0" y=
"0" width=
"200" height=
"200" />
46 <rect fill=
"red" x=
"0" y=
"0" width=
"40" height=
"100">
47 <animateTransform attributeName=
"transform" type=
"scale" from=
"1,1" by=
"0,1" dur=
"5s" />
49 <rect fill=
"green" x=
"0" y=
"0" width=
"30" height=
"100">
50 <animateTransform attributeName=
"transform" type=
"scale" from=
"1 1" by=
"0 1" dur=
"5s" />
52 <rect fill=
"blue" x=
"0" y=
"0" width=
"20" height=
"100">
53 <animateTransform attributeName=
"transform" type=
"scale" from=
"1, 1" by=
"0, 1" dur=
"5s" />
55 <rect fill=
"yellow" x=
"0" y=
"0" width=
"10" height=
"100">
56 <animateTransform attributeName=
"transform" type=
"scale" from=
"+1,+1" by=
" +0, +1" dur=
"5s" />
59 <rect fill=
"red" x=
"0" y=
"0" width=
"100" height=
"40">
60 <animateTransform attributeName=
"transform" type=
"scale" from=
"1,1" by=
"1,0" dur=
"5s" />
62 <rect fill=
"green" x=
"0" y=
"0" width=
"100" height=
"30">
63 <animateTransform attributeName=
"transform" type=
"scale" from=
"1 1" by=
"1 0" dur=
"5s" />
65 <rect fill=
"blue" x=
"0" y=
"0" width=
"100" height=
"20">
66 <animateTransform attributeName=
"transform" type=
"scale" from=
"1, 1" by=
"1, 0" dur=
"5s" />
68 <rect fill=
"yellow" x=
"0" y=
"0" width=
"100" height=
"10">
69 <animateTransform attributeName=
"transform" type=
"scale" from=
"+1,+1" by=
" +1, +0" dur=
"5s" />
73 <g transform=
"translate(300, 300)">
74 <rect fill=
"none" stroke=
"black" stroke-width=
"3" x=
"0" y=
"0" width=
"200" height=
"200" />
75 <rect fill=
"red" x=
"0" y=
"0" width=
"100" height=
"100">
76 <animateTransform attributeName=
"transform" type=
"skewX" from=
"0" by=
"45" dur=
"5s" />
78 <rect fill=
"green" x=
"0" y=
"0" width=
"50" height=
"100">
79 <animateTransform attributeName=
"transform" type=
"skewX" from=
"0" by=
" 45" dur=
"5s" />
81 <rect fill=
"blue" x=
"0" y=
"0" width=
"25" height=
"100">
82 <animateTransform attributeName=
"transform" type=
"skewX" from=
"0" by=
" +45.0" dur=
"5s" />