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 transformList.getItem(0).toString() 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 transformList.getItem(1).toString() 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: Failed
to execute 'initialize' on 'SVGTransformList': parameter 1 is not of type 'SVGTr
ansform'.. | 13 PASS transformList.initialize(30) threw exception TypeError: Failed to execute '
initialize' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.. |
14 PASS circle1.transform.baseVal.initialize('aString') threw exception TypeError:
Failed to execute 'initialize' on 'SVGTransformList': parameter 1 is not of type
'SVGTransform'.. | 14 PASS transformList.initialize('aString') threw exception TypeError: Failed to ex
ecute 'initialize' on 'SVGTransformList': parameter 1 is not of type 'SVGTransfo
rm'.. |
15 PASS circle1.transform.baseVal.initialize(circle1) threw exception TypeError: Fa
iled to execute 'initialize' on 'SVGTransformList': parameter 1 is not of type '
SVGTransform'.. | 15 PASS transformList.initialize(circle1) threw exception TypeError: Failed to exec
ute 'initialize' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform
'.. |
16 PASS circle1.transform.baseVal.initialize(null) threw exception TypeError: Faile
d to execute 'initialize' on 'SVGTransformList': parameter 1 is not of type 'SVG
Transform'.. | 16 PASS transformList.initialize(null) threw exception TypeError: Failed to execute
'initialize' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.. |
17 | 17 |
18 Test uncommon arguments for getItem() | 18 Test uncommon arguments for getItem() |
19 PASS circle1.transform.baseVal.getItem(30) threw exception IndexSizeError: Faile
d to execute 'getItem' on 'SVGTransformList': The index provided (30) is greater
than the maximum bound (2).. | 19 PASS transformList.getItem(30) threw exception IndexSizeError: Failed to execute
'getItem' on 'SVGTransformList': The index provided (30) is greater than the ma
ximum bound (2).. |
20 PASS circle1.transform.baseVal.getItem('aString') is circle1.transform.baseVal.g
etItem(0) | 20 PASS transformList.getItem('aString').toString() is "type=SVG_TRANSFORM_SCALE ma
trix=[2.0 0.0 0.0 2.0 0.0 0.0]" |
21 PASS circle1.transform.baseVal.getItem(circle1) is circle1.transform.baseVal.get
Item(0) | 21 PASS transformList.getItem(circle1).toString() is "type=SVG_TRANSFORM_SCALE matr
ix=[2.0 0.0 0.0 2.0 0.0 0.0]" |
22 PASS circle1.transform.baseVal.getItem(null) is circle1.transform.baseVal.getIte
m(0) | 22 PASS transformList.getItem(null).toString() is "type=SVG_TRANSFORM_SCALE matrix=
[2.0 0.0 0.0 2.0 0.0 0.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: F
ailed to execute 'insertItemBefore' on 'SVGTransformList': 2 arguments required,
but only 1 present.. | 25 PASS transformList.insertItemBefore(30) threw exception TypeError: Failed to exe
cute 'insertItemBefore' on 'SVGTransformList': 2 arguments required, but only 1
present.. |
26 PASS circle1.transform.baseVal.insertItemBefore('aString') threw exception TypeE
rror: Failed to execute 'insertItemBefore' on 'SVGTransformList': 2 arguments re
quired, but only 1 present.. | 26 PASS transformList.insertItemBefore('aString') threw exception TypeError: Failed
to execute 'insertItemBefore' on 'SVGTransformList': 2 arguments required, but
only 1 present.. |
27 PASS circle1.transform.baseVal.insertItemBefore(circle1) threw exception TypeErr
or: Failed to execute 'insertItemBefore' on 'SVGTransformList': 2 arguments requ
ired, but only 1 present.. | 27 PASS transformList.insertItemBefore(circle1) threw exception TypeError: Failed t
o execute 'insertItemBefore' on 'SVGTransformList': 2 arguments required, but on
ly 1 present.. |
28 PASS circle1.transform.baseVal.insertItemBefore(null) threw exception TypeError:
Failed to execute 'insertItemBefore' on 'SVGTransformList': 2 arguments require
d, but only 1 present.. | 28 PASS transformList.insertItemBefore(null) threw exception TypeError: Failed to e
xecute 'insertItemBefore' on 'SVGTransformList': 2 arguments required, but only
1 present.. |
29 PASS circle1.transform.baseVal.insertItemBefore(circle1.transform.baseVal.getIte
m(1), 'aString') is circle1.transform.baseVal.getItem(0) | 29 PASS transformList.insertItemBefore(transformList.getItem(1), 'aString').toStrin
g() is "type=SVG_TRANSFORM_TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" |
30 PASS circle1.transform.baseVal.numberOfItems is 2 | 30 PASS transformList.numberOfItems is 3 |
31 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]" | 31 PASS transformList.getItem(0).toString() is "type=SVG_TRANSFORM_TRANSLATE matrix
=[1.0 0.0 0.0 1.0 10.0 10.0]" |
32 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]" | 32 PASS transformList.getItem(1).toString() is "type=SVG_TRANSFORM_SCALE matrix=[2.
0 0.0 0.0 2.0 0.0 0.0]" |
33 PASS circle1.getAttribute('transform') is "translate(10 10) scale(2 2)" | 33 PASS transformList.getItem(2).toString() is "type=SVG_TRANSFORM_TRANSLATE matrix
=[1.0 0.0 0.0 1.0 10.0 10.0]" |
34 PASS circle1.transform.baseVal.insertItemBefore(circle1.transform.baseVal.getIte
m(1), circle1) is circle1.transform.baseVal.getItem(0) | 34 PASS circle1.getAttribute('transform') is "translate(10 10) scale(2 2) translate
(10 10)" |
35 PASS circle1.transform.baseVal.numberOfItems is 2 | 35 PASS transformList.insertItemBefore(transformList.getItem(1), circle1).toString(
) is "type=SVG_TRANSFORM_SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" |
36 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]" | 36 PASS transformList.numberOfItems is 4 |
37 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]" | 37 PASS transformList.getItem(0).toString() is "type=SVG_TRANSFORM_SCALE matrix=[2.
0 0.0 0.0 2.0 0.0 0.0]" |
38 PASS circle1.getAttribute('transform') is "scale(2 2) translate(10 10)" | 38 PASS transformList.getItem(1).toString() is "type=SVG_TRANSFORM_TRANSLATE matrix
=[1.0 0.0 0.0 1.0 10.0 10.0]" |
39 PASS circle1.transform.baseVal.insertItemBefore(circle1.transform.baseVal.getIte
m(1), null) is circle1.transform.baseVal.getItem(0) | 39 PASS transformList.getItem(2).toString() is "type=SVG_TRANSFORM_SCALE matrix=[2.
0 0.0 0.0 2.0 0.0 0.0]" |
40 PASS circle1.transform.baseVal.numberOfItems is 2 | 40 PASS transformList.getItem(3).toString() is "type=SVG_TRANSFORM_TRANSLATE matrix
=[1.0 0.0 0.0 1.0 10.0 10.0]" |
41 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]" | 41 PASS circle1.getAttribute('transform') is "scale(2 2) translate(10 10) scale(2 2
) translate(10 10)" |
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 transformList.insertItemBefore(transformList.getItem(1), null).toString() i
s "type=SVG_TRANSFORM_TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" |
43 PASS circle1.getAttribute('transform') is "translate(10 10) scale(2 2)" | 43 PASS transformList.numberOfItems is 5 |
44 PASS circle1.transform.baseVal.insertItemBefore(circle1.transform.baseVal.getIte
m(1), 0) is circle1.transform.baseVal.getItem(0) | 44 PASS transformList.getItem(0).toString() is "type=SVG_TRANSFORM_TRANSLATE matrix
=[1.0 0.0 0.0 1.0 10.0 10.0]" |
45 PASS circle1.transform.baseVal.numberOfItems is 2 | 45 PASS transformList.getItem(1).toString() 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]" | 46 PASS transformList.getItem(2).toString() 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]" | 47 PASS transformList.getItem(3).toString() is "type=SVG_TRANSFORM_SCALE matrix=[2.
0 0.0 0.0 2.0 0.0 0.0]" |
48 PASS circle1.getAttribute('transform') is "scale(2 2) translate(10 10)" | 48 PASS transformList.getItem(4).toString() is "type=SVG_TRANSFORM_TRANSLATE matrix
=[1.0 0.0 0.0 1.0 10.0 10.0]" |
49 PASS circle1.transform.baseVal.insertItemBefore(30, 0) threw exception TypeError
: Failed to execute 'insertItemBefore' on 'SVGTransformList': parameter 1 is not
of type 'SVGTransform'.. | 49 PASS circle1.getAttribute('transform') is "translate(10 10) scale(2 2) translate
(10 10) scale(2 2) translate(10 10)" |
50 PASS circle1.transform.baseVal.insertItemBefore('aString', 0) threw exception Ty
peError: Failed to execute 'insertItemBefore' on 'SVGTransformList': parameter 1
is not of type 'SVGTransform'.. | 50 PASS transformList.insertItemBefore(transformList.getItem(1), 0).toString() is "
type=SVG_TRANSFORM_SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" |
51 PASS circle1.transform.baseVal.insertItemBefore(circle1, 0) threw exception Type
Error: Failed to execute 'insertItemBefore' on 'SVGTransformList': parameter 1 i
s not of type 'SVGTransform'.. | 51 PASS transformList.numberOfItems is 6 |
52 PASS circle1.transform.baseVal.insertItemBefore(null, 0) threw exception TypeErr
or: Failed to execute 'insertItemBefore' on 'SVGTransformList': parameter 1 is n
ot of type 'SVGTransform'.. | 52 PASS transformList.getItem(0).toString() is "type=SVG_TRANSFORM_SCALE matrix=[2.
0 0.0 0.0 2.0 0.0 0.0]" |
| 53 PASS transformList.getItem(1).toString() is "type=SVG_TRANSFORM_TRANSLATE matrix
=[1.0 0.0 0.0 1.0 10.0 10.0]" |
| 54 PASS transformList.getItem(2).toString() is "type=SVG_TRANSFORM_SCALE matrix=[2.
0 0.0 0.0 2.0 0.0 0.0]" |
| 55 PASS transformList.getItem(3).toString() is "type=SVG_TRANSFORM_TRANSLATE matrix
=[1.0 0.0 0.0 1.0 10.0 10.0]" |
| 56 PASS transformList.getItem(4).toString() is "type=SVG_TRANSFORM_SCALE matrix=[2.
0 0.0 0.0 2.0 0.0 0.0]" |
| 57 PASS transformList.getItem(5).toString() is "type=SVG_TRANSFORM_TRANSLATE matrix
=[1.0 0.0 0.0 1.0 10.0 10.0]" |
| 58 PASS circle1.getAttribute('transform') is "scale(2 2) translate(10 10) scale(2 2
) translate(10 10) scale(2 2) translate(10 10)" |
| 59 PASS transformList.insertItemBefore(30, 0) threw exception TypeError: Failed to
execute 'insertItemBefore' on 'SVGTransformList': parameter 1 is not of type 'SV
GTransform'.. |
| 60 PASS transformList.insertItemBefore('aString', 0) threw exception TypeError: Fai
led to execute 'insertItemBefore' on 'SVGTransformList': parameter 1 is not of t
ype 'SVGTransform'.. |
| 61 PASS transformList.insertItemBefore(circle1, 0) threw exception TypeError: Faile
d to execute 'insertItemBefore' on 'SVGTransformList': parameter 1 is not of typ
e 'SVGTransform'.. |
| 62 PASS transformList.insertItemBefore(null, 0) threw exception TypeError: Failed t
o execute 'insertItemBefore' on 'SVGTransformList': parameter 1 is not of type '
SVGTransform'.. |
53 | 63 |
54 Set transform='rotate(90) scale(2 2) translate(10 10) skewX(45)' for circle1 | 64 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. | 65 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 | 66 PASS transformList.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]" | 67 PASS transformList.getItem(0).toString() 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]" | 68 PASS transformList.getItem(1).toString() 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]" | 69 PASS transformList.getItem(2).toString() 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]" | 70 PASS transformList.getItem(3).toString() 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)" | 71 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" |
62 | 72 |
63 Test uncommon arguments for replaceItem() | 73 Test uncommon arguments for replaceItem() |
64 PASS circle1.transform.baseVal.replaceItem(30) threw exception TypeError: Failed
to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, but only
1 present.. | 74 PASS transformList.replaceItem(30) threw exception TypeError: Failed to execute
'replaceItem' on 'SVGTransformList': 2 arguments required, but only 1 present.. |
65 PASS circle1.transform.baseVal.replaceItem('aString') threw exception TypeError:
Failed to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, bu
t only 1 present.. | 75 PASS transformList.replaceItem('aString') threw exception TypeError: Failed to e
xecute 'replaceItem' on 'SVGTransformList': 2 arguments required, but only 1 pre
sent.. |
66 PASS circle1.transform.baseVal.replaceItem(circle1) threw exception TypeError: F
ailed to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, but
only 1 present.. | 76 PASS transformList.replaceItem(circle1) threw exception TypeError: Failed to exe
cute 'replaceItem' on 'SVGTransformList': 2 arguments required, but only 1 prese
nt.. |
67 PASS circle1.transform.baseVal.replaceItem(null) threw exception TypeError: Fail
ed to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, but onl
y 1 present.. | 77 PASS transformList.replaceItem(null) threw exception TypeError: Failed to execut
e 'replaceItem' on 'SVGTransformList': 2 arguments required, but only 1 present.
. |
68 PASS circle1.transform.baseVal.replaceItem(30, 0) threw exception TypeError: Fai
led to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type '
SVGTransform'.. | 78 PASS transformList.replaceItem(30, 0) threw exception TypeError: Failed to execu
te 'replaceItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform
'.. |
69 PASS circle1.transform.baseVal.replaceItem('aString', 0) threw exception TypeErr
or: Failed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of
type 'SVGTransform'.. | 79 PASS transformList.replaceItem('aString', 0) threw exception TypeError: Failed t
o execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTr
ansform'.. |
70 PASS circle1.transform.baseVal.replaceItem(circle1, 0) threw exception TypeError
: Failed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of t
ype 'SVGTransform'.. | 80 PASS transformList.replaceItem(circle1, 0) threw exception TypeError: Failed to
execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTran
sform'.. |
71 PASS circle1.transform.baseVal.replaceItem(null, 0) threw exception TypeError: F
ailed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type
'SVGTransform'.. | 81 PASS transformList.replaceItem(null, 0) threw exception TypeError: Failed to exe
cute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransfo
rm'.. |
72 | 82 |
73 Test uncommon values for indexed setter | 83 Test uncommon values for indexed setter |
74 PASS circle1.transform.baseVal[0] = 30 threw exception TypeError: Failed to set
an indexed property on 'SVGTransformList': The provided value is not of type 'SV
GTransform'.. | 84 PASS transformList[0] = 30 threw exception TypeError: Failed to set an indexed p
roperty on 'SVGTransformList': The provided value is not of type 'SVGTransform'.
. |
75 PASS circle1.transform.baseVal[0] = 'aString' threw exception TypeError: Failed
to set an indexed property on 'SVGTransformList': The provided value is not of t
ype 'SVGTransform'.. | 85 PASS transformList[0] = 'aString' threw exception TypeError: Failed to set an in
dexed property on 'SVGTransformList': The provided value is not of type 'SVGTran
sform'.. |
76 PASS circle1.transform.baseVal[0] = circle1 threw exception TypeError: Failed to
set an indexed property on 'SVGTransformList': The provided value is not of typ
e 'SVGTransform'.. | 86 PASS transformList[0] = circle1 threw exception TypeError: Failed to set an inde
xed property on 'SVGTransformList': The provided value is not of type 'SVGTransf
orm'.. |
77 PASS circle1.transform.baseVal[0] = null threw exception TypeError: Failed to se
t an indexed property on 'SVGTransformList': The provided value is not of type '
SVGTransform'.. | 87 PASS transformList[0] = null threw exception TypeError: Failed to set an indexed
property on 'SVGTransformList': The provided value is not of type 'SVGTransform
'.. |
78 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0),
0) is circle1.transform.baseVal.getItem(0) | 88 PASS transformList.replaceItem(transformList.getItem(0), 0).toString() is "type=
SVG_TRANSFORM_ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" |
79 PASS circle1.transform.baseVal.numberOfItems is 4 | 89 PASS transformList.numberOfItems is 4 |
80 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]" | 90 PASS transformList.getItem(0).toString() 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(1)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" | 91 PASS transformList.getItem(1).toString() 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(2)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" | 92 PASS transformList.getItem(2).toString() 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(3)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" | 93 PASS transformList.getItem(3).toString() is "type=SVG_TRANSFORM_SKEWX matrix=[1.
0 0.0 1.0 1.0 0.0 0.0]" |
84 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" | 94 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" |
85 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0),
'aString') is circle1.transform.baseVal.getItem(0) | 95 PASS transformList.replaceItem(transformList.getItem(0), 'aString').toString() i
s "type=SVG_TRANSFORM_ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" |
86 PASS circle1.transform.baseVal.numberOfItems is 4 | 96 PASS transformList.numberOfItems is 4 |
87 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]" | 97 PASS transformList.getItem(0).toString() 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(1)) is "type=SVG_TRANSFORM_
SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" | 98 PASS transformList.getItem(1).toString() 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(2)) is "type=SVG_TRANSFORM_
TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" | 99 PASS transformList.getItem(2).toString() 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(3)) is "type=SVG_TRANSFORM_
SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" | 100 PASS transformList.getItem(3).toString() is "type=SVG_TRANSFORM_SKEWX matrix=[1.
0 0.0 1.0 1.0 0.0 0.0]" |
91 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" | 101 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" |
92 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0),
circle1) is circle1.transform.baseVal.getItem(0) | 102 PASS transformList.replaceItem(transformList.getItem(0), circle1).toString() is
"type=SVG_TRANSFORM_ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" |
93 PASS circle1.transform.baseVal.numberOfItems is 4 | 103 PASS transformList.numberOfItems is 4 |
94 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]" | 104 PASS transformList.getItem(0).toString() is "type=SVG_TRANSFORM_ROTATE matrix=[0
.0 1.0 -1.0 0.0 0.0 0.0]" |
95 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]" | 105 PASS transformList.getItem(1).toString() is "type=SVG_TRANSFORM_SCALE matrix=[2.
0 0.0 0.0 2.0 0.0 0.0]" |
96 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]" | 106 PASS transformList.getItem(2).toString() is "type=SVG_TRANSFORM_TRANSLATE matrix
=[1.0 0.0 0.0 1.0 10.0 10.0]" |
97 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]" | 107 PASS transformList.getItem(3).toString() is "type=SVG_TRANSFORM_SKEWX matrix=[1.
0 0.0 1.0 1.0 0.0 0.0]" |
98 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" | 108 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" |
99 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0),
null) is circle1.transform.baseVal.getItem(0) | 109 PASS transformList.replaceItem(transformList.getItem(0), null).toString() is "ty
pe=SVG_TRANSFORM_ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" |
100 PASS circle1.transform.baseVal.numberOfItems is 4 | 110 PASS transformList.numberOfItems is 4 |
101 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" | 111 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10
) skewX(45)" |
102 | 112 |
103 Set transform='rotate(90) scale(2 2) translate(10 10) skewX(45)' for circle1 | 113 Set transform='rotate(90) scale(2 2) translate(10 10) skewX(45)' for circle1 |
104 PASS circle1.setAttribute('transform', 'rotate(90) scale(2 2) translate(10 10) s
kewX(45)') is undefined. | 114 PASS circle1.setAttribute('transform', 'rotate(90) scale(2 2) translate(10 10) s
kewX(45)') is undefined. |
105 | 115 |
106 Test uncommon arguments for removeItem() | 116 Test uncommon arguments for removeItem() |
107 PASS circle1.transform.baseVal.removeItem(30) threw exception IndexSizeError: Fa
iled to execute 'removeItem' on 'SVGTransformList': The index provided (30) is g
reater than the maximum bound (4).. | 117 PASS transformList.removeItem(30) threw exception IndexSizeError: Failed to exec
ute 'removeItem' on 'SVGTransformList': The index provided (30) is greater than
the maximum bound (4).. |
108 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]" | 118 PASS transformList.removeItem(0).toString() is "type=SVG_TRANSFORM_ROTATE matrix
=[0.0 1.0 -1.0 0.0 0.0 0.0]" |
109 PASS circle1.transform.baseVal.numberOfItems is 3 | 119 PASS transformList.numberOfItems is 3 |
110 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]" | 120 PASS transformList.getItem(0).toString() is "type=SVG_TRANSFORM_SCALE matrix=[2.
0 0.0 0.0 2.0 0.0 0.0]" |
111 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]" | 121 PASS transformList.getItem(1).toString() is "type=SVG_TRANSFORM_TRANSLATE matrix
=[1.0 0.0 0.0 1.0 10.0 10.0]" |
112 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]" | 122 PASS transformList.getItem(2).toString() is "type=SVG_TRANSFORM_SKEWX matrix=[1.
0 0.0 1.0 1.0 0.0 0.0]" |
113 PASS circle1.getAttribute('transform') is "scale(2 2) translate(10 10) skewX(45)
" | 123 PASS circle1.getAttribute('transform') is "scale(2 2) translate(10 10) skewX(45)
" |
114 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]" | 124 PASS transformList.removeItem('aString').toString() is "type=SVG_TRANSFORM_SCALE
matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" |
115 PASS circle1.transform.baseVal.numberOfItems is 2 | 125 PASS transformList.numberOfItems is 2 |
116 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]" | 126 PASS transformList.getItem(0).toString() is "type=SVG_TRANSFORM_TRANSLATE matrix
=[1.0 0.0 0.0 1.0 10.0 10.0]" |
117 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]" | 127 PASS transformList.getItem(1).toString() is "type=SVG_TRANSFORM_SKEWX matrix=[1.
0 0.0 1.0 1.0 0.0 0.0]" |
118 PASS circle1.getAttribute('transform') is "translate(10 10) skewX(45)" | 128 PASS circle1.getAttribute('transform') is "translate(10 10) skewX(45)" |
119 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]" | 129 PASS transformList.removeItem(circle1).toString() is "type=SVG_TRANSFORM_TRANSLA
TE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" |
120 PASS circle1.transform.baseVal.numberOfItems is 1 | 130 PASS transformList.numberOfItems is 1 |
121 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]" | 131 PASS transformList.getItem(0).toString() is "type=SVG_TRANSFORM_SKEWX matrix=[1.
0 0.0 1.0 1.0 0.0 0.0]" |
122 PASS circle1.getAttribute('transform') is "skewX(45)" | 132 PASS circle1.getAttribute('transform') is "skewX(45)" |
123 | 133 |
124 Test uncommon arguments for appendItem() | 134 Test uncommon arguments for appendItem() |
125 PASS circle1.transform.baseVal.appendItem(30) threw exception TypeError: Failed
to execute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTr
ansform'.. | 135 PASS transformList.appendItem(30) threw exception TypeError: Failed to execute '
appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.. |
126 PASS circle1.transform.baseVal.appendItem('aString') threw exception TypeError:
Failed to execute 'appendItem' on 'SVGTransformList': parameter 1 is not of type
'SVGTransform'.. | 136 PASS transformList.appendItem('aString') threw exception TypeError: Failed to ex
ecute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransfo
rm'.. |
127 PASS circle1.transform.baseVal.appendItem(circle1) threw exception TypeError: Fa
iled to execute 'appendItem' on 'SVGTransformList': parameter 1 is not of type '
SVGTransform'.. | 137 PASS transformList.appendItem(circle1) threw exception TypeError: Failed to exec
ute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform
'.. |
128 PASS circle1.transform.baseVal.appendItem(null) threw exception TypeError: Faile
d to execute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVG
Transform'.. | 138 PASS transformList.appendItem(null) threw exception TypeError: Failed to execute
'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.. |
129 | 139 |
130 Testing animVal clear throws | 140 Testing animVal clear throws |
131 PASS circle1.transform.animVal.clear() threw exception NoModificationAllowedErro
r: Failed to execute 'clear' on 'SVGTransformList': The object is read-only.. | 141 PASS circle1.transform.animVal.clear() threw exception NoModificationAllowedErro
r: Failed to execute 'clear' on 'SVGTransformList': The object is read-only.. |
132 PASS circle1.transform.baseVal.clear() is undefined. | 142 PASS transformList.clear() is undefined. |
133 | 143 |
134 Creating new SVGTransform, with 45 deg rotation about x=50, y=100 and append it
to the transform list | 144 Creating new SVGTransform, with 45 deg rotation about x=50, y=100 and append it
to the transform list |
135 PASS dumpTransform(transform = svg.createSVGTransform()) is "type=SVG_TRANSFORM_
MATRIX matrix=[1.0 0.0 0.0 1.0 0.0 0.0]" | 145 PASS (transform = svg.createSVGTransform()).toString() is "type=SVG_TRANSFORM_MA
TRIX matrix=[1.0 0.0 0.0 1.0 0.0 0.0]" |
136 PASS transform.setRotate(45, 50, 100) is undefined. | 146 PASS transform.setRotate(45, 50, 100) is undefined. |
137 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]" | 147 PASS transformList.appendItem(transform).toString() is "type=SVG_TRANSFORM_ROTAT
E matrix=[0.7 0.7 -0.7 0.7 85.4 -6.1]" |
138 PASS circle1.transform.baseVal.numberOfItems is 1 | 148 PASS transformList.numberOfItems is 1 |
139 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]" | 149 PASS transformList.getItem(0).toString() is "type=SVG_TRANSFORM_ROTATE matrix=[0
.7 0.7 -0.7 0.7 85.4 -6.1]" |
140 PASS circle1.getAttribute('transform') is "rotate(45 50 100)" | 150 PASS circle1.getAttribute('transform') is "rotate(45 50 100)" |
141 PASS successfullyParsed is true | 151 PASS successfullyParsed is true |
142 | 152 |
143 TEST COMPLETE | 153 TEST COMPLETE |
144 | 154 |
OLD | NEW |