OLD | NEW |
1 This is a test of the simple SVGTransformList API parts. | 1 This is a test of the simple SVGTransformList API parts. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS circle1.transform.baseVal != circle1.transform.animVal is true | 6 PASS circle1.transform.baseVal != circle1.transform.animVal is true |
7 PASS circle1.transform.baseVal.numberOfItems is 2 | 7 PASS circle1.transform.baseVal.numberOfItems is 2 |
8 PASS circle1.transform.animVal.numberOfItems is 2 | 8 PASS circle1.transform.animVal.numberOfItems is 2 |
9 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" | 9 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" |
10 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" | 10 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" |
11 | 11 |
12 Test uncommon arguments for initialize() | 12 Test uncommon arguments for initialize() |
13 PASS circle1.transform.baseVal.initialize(30) threw exception TypeError: Type er
ror. | 13 PASS circle1.transform.baseVal.initialize(30) threw exception TypeError: Type er
ror. |
14 PASS circle1.transform.baseVal.initialize('aString') threw exception TypeError:
Type error. | 14 PASS circle1.transform.baseVal.initialize('aString') threw exception TypeError:
Type error. |
15 PASS circle1.transform.baseVal.initialize(circle1) threw exception TypeError: Ty
pe error. | 15 PASS circle1.transform.baseVal.initialize(circle1) threw exception TypeError: Ty
pe error. |
16 PASS circle1.transform.baseVal.initialize(null) threw exception Error: SVG_WRONG
_TYPE_ERR: DOM SVG Exception 0. | 16 PASS circle1.transform.baseVal.initialize(null) threw exception SVG_WRONG_TYPE_E
RR: An object of the wrong type was passed to an operation.. |
17 | 17 |
18 Test uncommon arguments for getItem() | 18 Test uncommon arguments for getItem() |
19 PASS circle1.transform.baseVal.getItem(30) threw exception Error: IndexSizeError
: DOM Exception 1. | 19 PASS circle1.transform.baseVal.getItem(30) threw exception IndexSizeError: Index
or size was negative, or greater than the allowed value.. |
20 PASS circle1.transform.baseVal.getItem('aString') is circle1.transform.baseVal.g
etItem(0) | 20 PASS circle1.transform.baseVal.getItem('aString') is circle1.transform.baseVal.g
etItem(0) |
21 PASS circle1.transform.baseVal.getItem(circle1) is circle1.transform.baseVal.get
Item(0) | 21 PASS circle1.transform.baseVal.getItem(circle1) is circle1.transform.baseVal.get
Item(0) |
22 PASS circle1.transform.baseVal.getItem(null) is circle1.transform.baseVal.getIte
m(0) | 22 PASS circle1.transform.baseVal.getItem(null) is circle1.transform.baseVal.getIte
m(0) |
23 | 23 |
24 Test uncommon arguments for insertItemBefore() | 24 Test uncommon arguments for insertItemBefore() |
25 PASS circle1.transform.baseVal.insertItemBefore(30) threw exception TypeError: N
ot enough arguments. | 25 PASS circle1.transform.baseVal.insertItemBefore(30) threw exception TypeError: N
ot enough arguments. |
26 PASS circle1.transform.baseVal.insertItemBefore('aString') threw exception TypeE
rror: Not enough arguments. | 26 PASS circle1.transform.baseVal.insertItemBefore('aString') threw exception TypeE
rror: Not enough arguments. |
27 PASS circle1.transform.baseVal.insertItemBefore(circle1) threw exception TypeErr
or: Not enough arguments. | 27 PASS circle1.transform.baseVal.insertItemBefore(circle1) threw exception TypeErr
or: Not enough arguments. |
28 PASS circle1.transform.baseVal.insertItemBefore(null) threw exception TypeError:
Not enough arguments. | 28 PASS circle1.transform.baseVal.insertItemBefore(null) threw exception TypeError:
Not enough arguments. |
29 PASS circle1.transform.baseVal.insertItemBefore(circle1.transform.baseVal.getIte
m(1), 'aString') is circle1.transform.baseVal.getItem(0) | 29 PASS circle1.transform.baseVal.insertItemBefore(circle1.transform.baseVal.getIte
m(1), 'aString') is circle1.transform.baseVal.getItem(0) |
(...skipping 12 matching lines...) Expand all Loading... |
42 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" | 42 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" |
43 PASS circle1.getAttribute('transform') is "translate(10 10) scale(2 2)" | 43 PASS circle1.getAttribute('transform') is "translate(10 10) scale(2 2)" |
44 PASS circle1.transform.baseVal.insertItemBefore(circle1.transform.baseVal.getIte
m(1), 0) is circle1.transform.baseVal.getItem(0) | 44 PASS circle1.transform.baseVal.insertItemBefore(circle1.transform.baseVal.getIte
m(1), 0) is circle1.transform.baseVal.getItem(0) |
45 PASS circle1.transform.baseVal.numberOfItems is 2 | 45 PASS circle1.transform.baseVal.numberOfItems is 2 |
46 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" | 46 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" |
47 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" | 47 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" |
48 PASS circle1.getAttribute('transform') is "scale(2 2) translate(10 10)" | 48 PASS circle1.getAttribute('transform') is "scale(2 2) translate(10 10)" |
49 PASS circle1.transform.baseVal.insertItemBefore(30, 0) threw exception TypeError
: Type error. | 49 PASS circle1.transform.baseVal.insertItemBefore(30, 0) threw exception TypeError
: Type error. |
50 PASS circle1.transform.baseVal.insertItemBefore('aString', 0) threw exception Ty
peError: Type error. | 50 PASS circle1.transform.baseVal.insertItemBefore('aString', 0) threw exception Ty
peError: Type error. |
51 PASS circle1.transform.baseVal.insertItemBefore(circle1, 0) threw exception Type
Error: Type error. | 51 PASS circle1.transform.baseVal.insertItemBefore(circle1, 0) threw exception Type
Error: Type error. |
52 PASS circle1.transform.baseVal.insertItemBefore(null, 0) threw exception Error:
SVG_WRONG_TYPE_ERR: DOM SVG Exception 0. | 52 PASS circle1.transform.baseVal.insertItemBefore(null, 0) threw exception SVG_WRO
NG_TYPE_ERR: An object of the wrong type was passed to an operation.. |
53 | 53 |
54 Set transform='rotate(90) scale(2 2) translate(10 10) skewX(45)' for circle1 | 54 Set transform='rotate(90) scale(2 2) translate(10 10) skewX(45)' for circle1 |
55 PASS circle1.setAttribute('transform', 'rotate(90) scale(2 2) translate(10 10) s
kewX(45)') is undefined. | 55 PASS circle1.setAttribute('transform', 'rotate(90) scale(2 2) translate(10 10) s
kewX(45)') is undefined. |
56 PASS circle1.transform.baseVal.numberOfItems is 4 | 56 PASS circle1.transform.baseVal.numberOfItems is 4 |
57 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" | 57 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" |
58 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" | 58 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" |
59 PASS dumpTransform(circle1.transform.baseVal.getItem(2)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" | 59 PASS dumpTransform(circle1.transform.baseVal.getItem(2)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" |
60 PASS dumpTransform(circle1.transform.baseVal.getItem(3)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" | 60 PASS dumpTransform(circle1.transform.baseVal.getItem(3)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" |
61 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" | 61 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" |
62 | 62 |
63 Test uncommon arguments for replaceItem() | 63 Test uncommon arguments for replaceItem() |
64 PASS circle1.transform.baseVal.replaceItem(30) threw exception TypeError: Not en
ough arguments. | 64 PASS circle1.transform.baseVal.replaceItem(30) threw exception TypeError: Not en
ough arguments. |
65 PASS circle1.transform.baseVal.replaceItem('aString') threw exception TypeError:
Not enough arguments. | 65 PASS circle1.transform.baseVal.replaceItem('aString') threw exception TypeError:
Not enough arguments. |
66 PASS circle1.transform.baseVal.replaceItem(circle1) threw exception TypeError: N
ot enough arguments. | 66 PASS circle1.transform.baseVal.replaceItem(circle1) threw exception TypeError: N
ot enough arguments. |
67 PASS circle1.transform.baseVal.replaceItem(null) threw exception TypeError: Not
enough arguments. | 67 PASS circle1.transform.baseVal.replaceItem(null) threw exception TypeError: Not
enough arguments. |
68 PASS circle1.transform.baseVal.replaceItem(30, 0) threw exception TypeError: Typ
e error. | 68 PASS circle1.transform.baseVal.replaceItem(30, 0) threw exception TypeError: Typ
e error. |
69 PASS circle1.transform.baseVal.replaceItem('aString', 0) threw exception TypeErr
or: Type error. | 69 PASS circle1.transform.baseVal.replaceItem('aString', 0) threw exception TypeErr
or: Type error. |
70 PASS circle1.transform.baseVal.replaceItem(circle1, 0) threw exception TypeError
: Type error. | 70 PASS circle1.transform.baseVal.replaceItem(circle1, 0) threw exception TypeError
: Type error. |
71 PASS circle1.transform.baseVal.replaceItem(null, 0) threw exception Error: SVG_W
RONG_TYPE_ERR: DOM SVG Exception 0. | 71 PASS circle1.transform.baseVal.replaceItem(null, 0) threw exception SVG_WRONG_TY
PE_ERR: An object of the wrong type was passed to an operation.. |
72 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0),
0) is circle1.transform.baseVal.getItem(0) | 72 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0),
0) is circle1.transform.baseVal.getItem(0) |
73 PASS circle1.transform.baseVal.numberOfItems is 4 | 73 PASS circle1.transform.baseVal.numberOfItems is 4 |
74 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" | 74 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" |
75 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" | 75 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" |
76 PASS dumpTransform(circle1.transform.baseVal.getItem(2)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" | 76 PASS dumpTransform(circle1.transform.baseVal.getItem(2)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" |
77 PASS dumpTransform(circle1.transform.baseVal.getItem(3)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" | 77 PASS dumpTransform(circle1.transform.baseVal.getItem(3)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" |
78 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" | 78 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" |
79 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0),
'aString') is circle1.transform.baseVal.getItem(0) | 79 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0),
'aString') is circle1.transform.baseVal.getItem(0) |
80 PASS circle1.transform.baseVal.numberOfItems is 4 | 80 PASS circle1.transform.baseVal.numberOfItems is 4 |
81 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" | 81 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" |
82 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" | 82 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" |
83 PASS dumpTransform(circle1.transform.baseVal.getItem(2)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" | 83 PASS dumpTransform(circle1.transform.baseVal.getItem(2)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" |
84 PASS dumpTransform(circle1.transform.baseVal.getItem(3)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" | 84 PASS dumpTransform(circle1.transform.baseVal.getItem(3)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" |
85 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" | 85 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" |
86 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0),
circle1) is circle1.transform.baseVal.getItem(0) | 86 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0),
circle1) is circle1.transform.baseVal.getItem(0) |
87 PASS circle1.transform.baseVal.numberOfItems is 4 | 87 PASS circle1.transform.baseVal.numberOfItems is 4 |
88 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" | 88 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" |
89 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" | 89 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" |
90 PASS dumpTransform(circle1.transform.baseVal.getItem(2)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" | 90 PASS dumpTransform(circle1.transform.baseVal.getItem(2)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" |
91 PASS dumpTransform(circle1.transform.baseVal.getItem(3)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" | 91 PASS dumpTransform(circle1.transform.baseVal.getItem(3)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" |
92 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" | 92 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" |
93 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0),
null) is circle1.transform.baseVal.getItem(0) | 93 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0),
null) is circle1.transform.baseVal.getItem(0) |
94 PASS circle1.transform.baseVal.numberOfItems is 4 | 94 PASS circle1.transform.baseVal.numberOfItems is 4 |
95 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" | 95 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" |
96 | 96 |
97 Set transform='rotate(90) scale(2 2) translate(10 10) skewX(45)' for circle1 | 97 Set transform='rotate(90) scale(2 2) translate(10 10) skewX(45)' for circle1 |
98 PASS circle1.setAttribute('transform', 'rotate(90) scale(2 2) translate(10 10) s
kewX(45)') is undefined. | 98 PASS circle1.setAttribute('transform', 'rotate(90) scale(2 2) translate(10 10) s
kewX(45)') is undefined. |
99 | 99 |
100 Test uncommon arguments for removeItem() | 100 Test uncommon arguments for removeItem() |
101 PASS circle1.transform.baseVal.removeItem(30) threw exception Error: IndexSizeEr
ror: DOM Exception 1. | 101 PASS circle1.transform.baseVal.removeItem(30) threw exception IndexSizeError: In
dex or size was negative, or greater than the allowed value.. |
102 PASS dumpTransform(circle1.transform.baseVal.removeItem(0)) is "type=SVG_TRANSFO
RM_ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" | 102 PASS dumpTransform(circle1.transform.baseVal.removeItem(0)) is "type=SVG_TRANSFO
RM_ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" |
103 PASS circle1.transform.baseVal.numberOfItems is 3 | 103 PASS circle1.transform.baseVal.numberOfItems is 3 |
104 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" | 104 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" |
105 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" | 105 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" |
106 PASS dumpTransform(circle1.transform.baseVal.getItem(2)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" | 106 PASS dumpTransform(circle1.transform.baseVal.getItem(2)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" |
107 PASS circle1.getAttribute('transform') is "scale(2 2) translate(10 10) skewX(45)
" | 107 PASS circle1.getAttribute('transform') is "scale(2 2) translate(10 10) skewX(45)
" |
108 PASS dumpTransform(circle1.transform.baseVal.removeItem('aString')) is "type=SVG
_TRANSFORM_SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" | 108 PASS dumpTransform(circle1.transform.baseVal.removeItem('aString')) is "type=SVG
_TRANSFORM_SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" |
109 PASS circle1.transform.baseVal.numberOfItems is 2 | 109 PASS circle1.transform.baseVal.numberOfItems is 2 |
110 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" | 110 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" |
111 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" | 111 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" |
112 PASS circle1.getAttribute('transform') is "translate(10 10) skewX(45)" | 112 PASS circle1.getAttribute('transform') is "translate(10 10) skewX(45)" |
113 PASS dumpTransform(circle1.transform.baseVal.removeItem(circle1)) is "type=SVG_T
RANSFORM_TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" | 113 PASS dumpTransform(circle1.transform.baseVal.removeItem(circle1)) is "type=SVG_T
RANSFORM_TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" |
114 PASS circle1.transform.baseVal.numberOfItems is 1 | 114 PASS circle1.transform.baseVal.numberOfItems is 1 |
115 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" | 115 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" |
116 PASS circle1.getAttribute('transform') is "skewX(45)" | 116 PASS circle1.getAttribute('transform') is "skewX(45)" |
117 | 117 |
118 Test uncommon arguments for appendItem() | 118 Test uncommon arguments for appendItem() |
119 PASS circle1.transform.baseVal.appendItem(30) threw exception TypeError: Type er
ror. | 119 PASS circle1.transform.baseVal.appendItem(30) threw exception TypeError: Type er
ror. |
120 PASS circle1.transform.baseVal.appendItem('aString') threw exception TypeError:
Type error. | 120 PASS circle1.transform.baseVal.appendItem('aString') threw exception TypeError:
Type error. |
121 PASS circle1.transform.baseVal.appendItem(circle1) threw exception TypeError: Ty
pe error. | 121 PASS circle1.transform.baseVal.appendItem(circle1) threw exception TypeError: Ty
pe error. |
122 PASS circle1.transform.baseVal.appendItem(null) threw exception Error: SVG_WRONG
_TYPE_ERR: DOM SVG Exception 0. | 122 PASS circle1.transform.baseVal.appendItem(null) threw exception SVG_WRONG_TYPE_E
RR: An object of the wrong type was passed to an operation.. |
123 | 123 |
124 Testing animVal clear throws | 124 Testing animVal clear throws |
125 PASS circle1.transform.animVal.clear() threw exception Error: NoModificationAllo
wedError: DOM Exception 7. | 125 PASS circle1.transform.animVal.clear() threw exception NoModificationAllowedErro
r: An attempt was made to modify an object where modifications are not allowed.. |
126 PASS circle1.transform.baseVal.clear() is undefined. | 126 PASS circle1.transform.baseVal.clear() is undefined. |
127 | 127 |
128 Creating new SVGTransform, with 45 deg rotation about x=50, y=100 and append it
to the transform list | 128 Creating new SVGTransform, with 45 deg rotation about x=50, y=100 and append it
to the transform list |
129 PASS dumpTransform(transform = svg.createSVGTransform()) is "type=SVG_TRANSFORM_
MATRIX matrix=[1.0 0.0 0.0 1.0 0.0 0.0]" | 129 PASS dumpTransform(transform = svg.createSVGTransform()) is "type=SVG_TRANSFORM_
MATRIX matrix=[1.0 0.0 0.0 1.0 0.0 0.0]" |
130 PASS transform.setRotate(45, 50, 100) is undefined. | 130 PASS transform.setRotate(45, 50, 100) is undefined. |
131 PASS dumpTransform(circle1.transform.baseVal.appendItem(transform)) is "type=SVG
_TRANSFORM_ROTATE matrix=[0.7 0.7 -0.7 0.7 85.4 -6.1]" | 131 PASS dumpTransform(circle1.transform.baseVal.appendItem(transform)) is "type=SVG
_TRANSFORM_ROTATE matrix=[0.7 0.7 -0.7 0.7 85.4 -6.1]" |
132 PASS circle1.transform.baseVal.numberOfItems is 1 | 132 PASS circle1.transform.baseVal.numberOfItems is 1 |
133 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
ROTATE matrix=[0.7 0.7 -0.7 0.7 85.4 -6.1]" | 133 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_
ROTATE matrix=[0.7 0.7 -0.7 0.7 85.4 -6.1]" |
134 PASS circle1.getAttribute('transform') is "rotate(45 50 100)" | 134 PASS circle1.getAttribute('transform') is "rotate(45 50 100)" |
135 PASS successfullyParsed is true | 135 PASS successfullyParsed is true |
136 | 136 |
137 TEST COMPLETE | 137 TEST COMPLETE |
138 | 138 |
OLD | NEW |