OLD | NEW |
1 ABC | 1 ABC |
2 This is a test of the simple SVGNumberList API parts. | 2 This is a test of the simple SVGNumberList API parts. |
3 | 3 |
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
5 | 5 |
6 | 6 |
7 PASS text1.rotate.baseVal != text1.rotate.animVal is true | 7 PASS text1.rotate.baseVal != text1.rotate.animVal is true |
8 PASS text1.rotate.baseVal.numberOfItems is 3 | 8 PASS text1.rotate.baseVal.numberOfItems is 3 |
9 PASS text1.rotate.animVal.numberOfItems is 3 | 9 PASS text1.rotate.animVal.numberOfItems is 3 |
10 | 10 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 Test uncommon arguments for replaceItem() | 66 Test uncommon arguments for replaceItem() |
67 PASS text1.rotate.baseVal.replaceItem(30) threw exception TypeError: Not enough
arguments. | 67 PASS text1.rotate.baseVal.replaceItem(30) threw exception TypeError: Not enough
arguments. |
68 PASS text1.rotate.baseVal.replaceItem('aString') threw exception TypeError: Not
enough arguments. | 68 PASS text1.rotate.baseVal.replaceItem('aString') threw exception TypeError: Not
enough arguments. |
69 PASS text1.rotate.baseVal.replaceItem(text1) threw exception TypeError: Not enou
gh arguments. | 69 PASS text1.rotate.baseVal.replaceItem(text1) threw exception TypeError: Not enou
gh arguments. |
70 PASS text1.rotate.baseVal.replaceItem(null) threw exception TypeError: Not enoug
h arguments. | 70 PASS text1.rotate.baseVal.replaceItem(null) threw exception TypeError: Not enoug
h arguments. |
71 PASS text1.rotate.baseVal.replaceItem(30, 0) threw exception TypeError: Type err
or. | 71 PASS text1.rotate.baseVal.replaceItem(30, 0) threw exception TypeError: Type err
or. |
72 PASS text1.rotate.baseVal.replaceItem('aString', 0) threw exception TypeError: T
ype error. | 72 PASS text1.rotate.baseVal.replaceItem('aString', 0) threw exception TypeError: T
ype error. |
73 PASS text1.rotate.baseVal.replaceItem(text1, 0) threw exception TypeError: Type
error. | 73 PASS text1.rotate.baseVal.replaceItem(text1, 0) threw exception TypeError: Type
error. |
74 PASS text1.rotate.baseVal.replaceItem(null, 0) threw exception Error: SVG_WRONG_
TYPE_ERR: DOM SVG Exception 0. | 74 PASS text1.rotate.baseVal.replaceItem(null, 0) threw exception Error: SVG_WRONG_
TYPE_ERR: DOM SVG Exception 0. |
75 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), 0) is tex
t1.rotate.baseVal.getItem(0) | 75 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), 0) is tex
t1.rotate.baseVal.getItem(0) |
76 PASS text1.rotate.baseVal.numberOfItems is 3 | 76 PASS text1.rotate.baseVal.numberOfItems is 4 |
77 PASS text1.rotate.baseVal.getItem(0).value is 1 | 77 PASS text1.rotate.baseVal.getItem(0).value is 1 |
78 PASS text1.rotate.baseVal.getItem(1).value is 3 | 78 PASS text1.rotate.baseVal.getItem(1).value is 2 |
79 PASS text1.rotate.baseVal.getItem(2).value is 4 | 79 PASS text1.rotate.baseVal.getItem(2).value is 3 |
80 PASS text1.getAttribute('rotate') is "1 3 4" | 80 PASS text1.rotate.baseVal.getItem(3).value is 4 |
| 81 PASS text1.getAttribute('rotate') is "1 2 3 4" |
81 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), 'aString'
) is text1.rotate.baseVal.getItem(0) | 82 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), 'aString'
) is text1.rotate.baseVal.getItem(0) |
82 PASS text1.rotate.baseVal.numberOfItems is 2 | 83 PASS text1.rotate.baseVal.numberOfItems is 4 |
83 PASS text1.rotate.baseVal.getItem(0).value is 1 | 84 PASS text1.rotate.baseVal.getItem(0).value is 1 |
84 PASS text1.rotate.baseVal.getItem(1).value is 4 | 85 PASS text1.rotate.baseVal.getItem(1).value is 2 |
85 PASS text1.getAttribute('rotate') is "1 4" | 86 PASS text1.rotate.baseVal.getItem(2).value is 3 |
| 87 PASS text1.rotate.baseVal.getItem(3).value is 4 |
| 88 PASS text1.getAttribute('rotate') is "1 2 3 4" |
86 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), text1) is
text1.rotate.baseVal.getItem(0) | 89 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), text1) is
text1.rotate.baseVal.getItem(0) |
87 PASS text1.rotate.baseVal.numberOfItems is 1 | 90 PASS text1.rotate.baseVal.numberOfItems is 4 |
88 PASS text1.getAttribute('rotate') is "1" | 91 PASS text1.getAttribute('rotate') is "1 2 3 4" |
89 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), null) thr
ew exception Error: IndexSizeError: DOM Exception 1. | 92 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), null) is
text1.rotate.baseVal.getItem(0) |
90 PASS text1.rotate.baseVal.numberOfItems is 0 | 93 PASS text1.rotate.baseVal.numberOfItems is 4 |
91 PASS text1.getAttribute('rotate') is "" | 94 PASS text1.getAttribute('rotate') is "1 2 3 4" |
92 | 95 |
93 Set rotate='1 2 3 4' for text1 | 96 Set rotate='1 2 3 4' for text1 |
94 PASS text1.setAttribute('rotate', '1 2 3 4') is undefined. | 97 PASS text1.setAttribute('rotate', '1 2 3 4') is undefined. |
95 | 98 |
96 Test uncommon arguents for removeItem() | 99 Test uncommon arguents for removeItem() |
97 PASS text1.rotate.baseVal.removeItem(30) threw exception Error: IndexSizeError:
DOM Exception 1. | 100 PASS text1.rotate.baseVal.removeItem(30) threw exception Error: IndexSizeError:
DOM Exception 1. |
98 PASS text1.rotate.baseVal.removeItem('aString').value is 1 | 101 PASS text1.rotate.baseVal.removeItem('aString').value is 1 |
99 PASS text1.rotate.baseVal.numberOfItems is 3 | 102 PASS text1.rotate.baseVal.numberOfItems is 3 |
100 PASS text1.rotate.baseVal.getItem(0).value is 2 | 103 PASS text1.rotate.baseVal.getItem(0).value is 2 |
101 PASS text1.rotate.baseVal.getItem(1).value is 3 | 104 PASS text1.rotate.baseVal.getItem(1).value is 3 |
(...skipping 15 matching lines...) Expand all Loading... |
117 PASS text1.rotate.baseVal.appendItem(text1) threw exception TypeError: Type erro
r. | 120 PASS text1.rotate.baseVal.appendItem(text1) threw exception TypeError: Type erro
r. |
118 PASS text1.rotate.baseVal.appendItem(null) threw exception Error: SVG_WRONG_TYPE
_ERR: DOM SVG Exception 0. | 121 PASS text1.rotate.baseVal.appendItem(null) threw exception Error: SVG_WRONG_TYPE
_ERR: DOM SVG Exception 0. |
119 | 122 |
120 Testing animVal clear throws | 123 Testing animVal clear throws |
121 PASS text1.rotate.animVal.clear() threw exception Error: NoModificationAllowedEr
ror: DOM Exception 7. | 124 PASS text1.rotate.animVal.clear() threw exception Error: NoModificationAllowedEr
ror: DOM Exception 7. |
122 PASS text1.rotate.baseVal.clear() is undefined. | 125 PASS text1.rotate.baseVal.clear() is undefined. |
123 PASS successfullyParsed is true | 126 PASS successfullyParsed is true |
124 | 127 |
125 TEST COMPLETE | 128 TEST COMPLETE |
126 | 129 |
OLD | NEW |