OLD | NEW |
1 CONSOLE WARNING: SVG's SMIL animations (<animate>, <set>, etc.) are deprecated a
nd will be removed. Please use CSS animations or Web animations instead. | 1 CONSOLE WARNING: SVG's SMIL animations (<animate>, <set>, etc.) are deprecated a
nd will be removed. Please use CSS animations or Web animations instead. |
2 SVG 1.1 dynamic animation tests | 2 SVG 1.1 dynamic animation tests |
3 | 3 |
4 Test path animation where coordinate modes of start and end differ. You should s
ee PASS messages | 4 Test path animation where coordinate modes of start and end differ. You should s
ee PASS messages |
5 | 5 |
6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
7 | 7 |
8 | 8 |
9 PASS path.animatedPathSegList.numberOfItems is 5 | 9 PASS path.getAttribute('d') is "M -30 -30 L 30 0 V 30 H 0 Z" |
10 PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M" | 10 PASS path.getAttribute('d') is "M -15 -15 L 15 0 V 15 H 0 Z" |
11 PASS path.animatedPathSegList.getItem(0).x is -30 | 11 PASS path.getAttribute('d') is "M 15 15 l -30 -15 v -15 h 15 Z" |
12 PASS path.animatedPathSegList.getItem(0).y is -30 | 12 PASS path.getAttribute('d') is "M 29.985 29.985 l -59.97 -29.985 v -29.985 h 29.
985 Z" |
13 PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "L" | 13 PASS path.getAttribute('d') is "M -30 -30 L 30 0 V 30 H 0 Z" |
14 PASS path.animatedPathSegList.getItem(1).x is 30 | |
15 PASS path.animatedPathSegList.getItem(1).y is 0 | |
16 PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "V" | |
17 PASS path.animatedPathSegList.getItem(2).y is 30 | |
18 PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "H" | |
19 PASS path.animatedPathSegList.getItem(3).x is 0 | |
20 PASS path.animatedPathSegList.getItem(4).pathSegTypeAsLetter is "Z" | |
21 PASS path.pathSegList.numberOfItems is 5 | |
22 PASS path.pathSegList.getItem(0).pathSegTypeAsLetter is "M" | |
23 PASS path.pathSegList.getItem(0).x is -30 | |
24 PASS path.pathSegList.getItem(0).y is -30 | |
25 PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "L" | |
26 PASS path.pathSegList.getItem(1).x is 30 | |
27 PASS path.pathSegList.getItem(1).y is 0 | |
28 PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "V" | |
29 PASS path.pathSegList.getItem(2).y is 30 | |
30 PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "H" | |
31 PASS path.pathSegList.getItem(3).x is 0 | |
32 PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z" | |
33 PASS path.animatedPathSegList.numberOfItems is 5 | |
34 PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M" | |
35 PASS path.animatedPathSegList.getItem(0).x is -15 | |
36 PASS path.animatedPathSegList.getItem(0).y is -15 | |
37 PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "L" | |
38 PASS path.animatedPathSegList.getItem(1).x is 15 | |
39 PASS path.animatedPathSegList.getItem(1).y is 0 | |
40 PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "V" | |
41 PASS path.animatedPathSegList.getItem(2).y is 15 | |
42 PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "H" | |
43 PASS path.animatedPathSegList.getItem(3).x is 0 | |
44 PASS path.animatedPathSegList.getItem(4).pathSegTypeAsLetter is "Z" | |
45 PASS path.pathSegList.numberOfItems is 5 | |
46 PASS path.pathSegList.getItem(0).pathSegTypeAsLetter is "M" | |
47 PASS path.pathSegList.getItem(0).x is -30 | |
48 PASS path.pathSegList.getItem(0).y is -30 | |
49 PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "L" | |
50 PASS path.pathSegList.getItem(1).x is 30 | |
51 PASS path.pathSegList.getItem(1).y is 0 | |
52 PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "V" | |
53 PASS path.pathSegList.getItem(2).y is 30 | |
54 PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "H" | |
55 PASS path.pathSegList.getItem(3).x is 0 | |
56 PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z" | |
57 PASS path.animatedPathSegList.numberOfItems is 5 | |
58 PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M" | |
59 PASS path.animatedPathSegList.getItem(0).x is 15 | |
60 PASS path.animatedPathSegList.getItem(0).y is 15 | |
61 PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "l" | |
62 PASS path.animatedPathSegList.getItem(1).x is -30 | |
63 PASS path.animatedPathSegList.getItem(1).y is -15 | |
64 PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "v" | |
65 PASS path.animatedPathSegList.getItem(2).y is -15 | |
66 PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "h" | |
67 PASS path.animatedPathSegList.getItem(3).x is 15 | |
68 PASS path.animatedPathSegList.getItem(4).pathSegTypeAsLetter is "Z" | |
69 PASS path.pathSegList.numberOfItems is 5 | |
70 PASS path.pathSegList.getItem(0).pathSegTypeAsLetter is "M" | |
71 PASS path.pathSegList.getItem(0).x is -30 | |
72 PASS path.pathSegList.getItem(0).y is -30 | |
73 PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "L" | |
74 PASS path.pathSegList.getItem(1).x is 30 | |
75 PASS path.pathSegList.getItem(1).y is 0 | |
76 PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "V" | |
77 PASS path.pathSegList.getItem(2).y is 30 | |
78 PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "H" | |
79 PASS path.pathSegList.getItem(3).x is 0 | |
80 PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z" | |
81 PASS path.animatedPathSegList.numberOfItems is 5 | |
82 PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M" | |
83 PASS path.animatedPathSegList.getItem(0).x is 30 | |
84 PASS path.animatedPathSegList.getItem(0).y is 30 | |
85 PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "l" | |
86 PASS path.animatedPathSegList.getItem(1).x is -60 | |
87 PASS path.animatedPathSegList.getItem(1).y is -30 | |
88 PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "v" | |
89 PASS path.animatedPathSegList.getItem(2).y is -30 | |
90 PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "h" | |
91 PASS path.animatedPathSegList.getItem(3).x is 30 | |
92 PASS path.animatedPathSegList.getItem(4).pathSegTypeAsLetter is "Z" | |
93 PASS path.pathSegList.numberOfItems is 5 | |
94 PASS path.pathSegList.getItem(0).pathSegTypeAsLetter is "M" | |
95 PASS path.pathSegList.getItem(0).x is -30 | |
96 PASS path.pathSegList.getItem(0).y is -30 | |
97 PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "L" | |
98 PASS path.pathSegList.getItem(1).x is 30 | |
99 PASS path.pathSegList.getItem(1).y is 0 | |
100 PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "V" | |
101 PASS path.pathSegList.getItem(2).y is 30 | |
102 PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "H" | |
103 PASS path.pathSegList.getItem(3).x is 0 | |
104 PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z" | |
105 PASS path.animatedPathSegList.numberOfItems is 5 | |
106 PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M" | |
107 PASS path.animatedPathSegList.getItem(0).x is -30 | |
108 PASS path.animatedPathSegList.getItem(0).y is -30 | |
109 PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "L" | |
110 PASS path.animatedPathSegList.getItem(1).x is 30 | |
111 PASS path.animatedPathSegList.getItem(1).y is 0 | |
112 PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "V" | |
113 PASS path.animatedPathSegList.getItem(2).y is 30 | |
114 PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "H" | |
115 PASS path.animatedPathSegList.getItem(3).x is 0 | |
116 PASS path.animatedPathSegList.getItem(4).pathSegTypeAsLetter is "Z" | |
117 PASS path.pathSegList.numberOfItems is 5 | |
118 PASS path.pathSegList.getItem(0).pathSegTypeAsLetter is "M" | |
119 PASS path.pathSegList.getItem(0).x is -30 | |
120 PASS path.pathSegList.getItem(0).y is -30 | |
121 PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "L" | |
122 PASS path.pathSegList.getItem(1).x is 30 | |
123 PASS path.pathSegList.getItem(1).y is 0 | |
124 PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "V" | |
125 PASS path.pathSegList.getItem(2).y is 30 | |
126 PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "H" | |
127 PASS path.pathSegList.getItem(3).x is 0 | |
128 PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z" | |
129 PASS successfullyParsed is true | 14 PASS successfullyParsed is true |
130 | 15 |
131 TEST COMPLETE | 16 TEST COMPLETE |
132 | 17 |
OLD | NEW |