blob: 4aa598f9397ba0a6ef9a30e7fcc967c70f73a011 [file] [log] [blame]
ABC
This is a test of the SVGLengthList::getItem() API.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Check lengths of text x item lists
PASS text1.x.baseVal.numberOfItems is 3
Test with various index parameters
PASS text1.x.baseVal.getItem(-100) threw exception IndexSizeError: The index is not in the allowed range..
PASS text1.x.baseVal.getItem(-1) threw exception IndexSizeError: The index is not in the allowed range..
PASS text1.x.baseVal.getItem(0).value is 50
PASS text1.x.baseVal.getItem(1).value is 100
PASS text1.x.baseVal.getItem(2).value is 150
PASS text1.x.baseVal.getItem(3) threw exception IndexSizeError: The index is not in the allowed range..
PASS text1.x.baseVal.getItem(100) threw exception IndexSizeError: The index is not in the allowed range..
PASS successfullyParsed is true
TEST COMPLETE