OLD | NEW |
1 ABC | 1 ABC |
2 This is a test of the SVGLengthList::getItem() API. | 2 This is a test of the SVGLengthList::getItem() API. |
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 Check lengths of text x item lists | 7 Check lengths of text x item lists |
8 PASS text1.x.baseVal.numberOfItems is 3 | 8 PASS text1.x.baseVal.numberOfItems is 3 |
9 | 9 |
10 Test with various index parameters | 10 Test with various index parameters |
11 PASS text1.x.baseVal.getItem(-100) threw exception Error: IndexSizeError: DOM Ex
ception 1. | 11 PASS text1.x.baseVal.getItem(-100) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. |
12 PASS text1.x.baseVal.getItem(-1) threw exception Error: IndexSizeError: DOM Exce
ption 1. | 12 PASS text1.x.baseVal.getItem(-1) threw exception IndexSizeError: Index or size w
as negative, or greater than the allowed value.. |
13 PASS text1.x.baseVal.getItem(0).value is 50 | 13 PASS text1.x.baseVal.getItem(0).value is 50 |
14 PASS text1.x.baseVal.getItem(1).value is 100 | 14 PASS text1.x.baseVal.getItem(1).value is 100 |
15 PASS text1.x.baseVal.getItem(2).value is 150 | 15 PASS text1.x.baseVal.getItem(2).value is 150 |
16 PASS text1.x.baseVal.getItem(3) threw exception Error: IndexSizeError: DOM Excep
tion 1. | 16 PASS text1.x.baseVal.getItem(3) threw exception IndexSizeError: Index or size wa
s negative, or greater than the allowed value.. |
17 PASS text1.x.baseVal.getItem(100) threw exception Error: IndexSizeError: DOM Exc
eption 1. | 17 PASS text1.x.baseVal.getItem(100) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. |
18 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
19 | 19 |
20 TEST COMPLETE | 20 TEST COMPLETE |
21 | 21 |
OLD | NEW |