OLD | NEW |
| (Empty) |
1 This is a test of more SVGTransformList API parts. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 Test appendItem with SVGTransform that already exist in a list | |
7 PASS transformList1.numberOfItems is 2 | |
8 PASS transformList2.numberOfItems is 2 | |
9 PASS transformList1.getItem(1).toString() is "type=SVG_TRANSFORM_TRANSLATE matri
x=[1.0 0.0 0.0 1.0 100.0 100.0]" | |
10 PASS transformList2.getItem(1).toString() is "type=SVG_TRANSFORM_TRANSLATE matri
x=[1.0 0.0 0.0 1.0 100.0 100.0]" | |
11 | |
12 Test changing SVGTransform value | |
13 PASS transformList1.getItem(1).toString() is "type=SVG_TRANSFORM_TRANSLATE matri
x=[1.0 0.0 0.0 1.0 200.0 200.0]" | |
14 PASS transformList2.getItem(1).toString() is "type=SVG_TRANSFORM_TRANSLATE matri
x=[1.0 0.0 0.0 1.0 100.0 100.0]" | |
15 | |
16 Test insertItemBefore with SVGTransform that already exist in a list | |
17 PASS transformList1.getItem(0).toString() is "type=SVG_TRANSFORM_TRANSLATE matri
x=[1.0 0.0 0.0 1.0 200.0 200.0]" | |
18 PASS transformList2.getItem(0).toString() is "type=SVG_TRANSFORM_TRANSLATE matri
x=[1.0 0.0 0.0 1.0 200.0 200.0]" | |
19 PASS transformList1.numberOfItems is 3 | |
20 PASS transformList2.numberOfItems is 3 | |
21 | |
22 Test replaceItem with SVGTransform that already exist in a list | |
23 PASS transformList1.getItem(2).toString() is "type=SVG_TRANSFORM_SCALE matrix=[3
.0 0.0 0.0 3.0 0.0 0.0]" | |
24 PASS transformList2.getItem(2).toString() is "type=SVG_TRANSFORM_SCALE matrix=[3
.0 0.0 0.0 3.0 0.0 0.0]" | |
25 PASS transformList1.numberOfItems is 3 | |
26 PASS transformList2.numberOfItems is 3 | |
27 | |
28 Test initialize with SVGTransform that already exist in a list | |
29 PASS transformList1.getItem(0).toString() is "type=SVG_TRANSFORM_SCALE matrix=[3
.0 0.0 0.0 3.0 0.0 0.0]" | |
30 PASS transformList2.getItem(0).toString() is "type=SVG_TRANSFORM_SCALE matrix=[3
.0 0.0 0.0 3.0 0.0 0.0]" | |
31 PASS transformList1.numberOfItems is 1 | |
32 PASS transformList2.numberOfItems is 1 | |
33 PASS successfullyParsed is true | |
34 | |
35 TEST COMPLETE | |
36 | |
OLD | NEW |