| OLD | NEW |
| (Empty) |
| 1 This test checks the SVGAnimatedNumberList API - utilizing the rotate property o
f SVGTextElement | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 | |
| 7 Check initial rotate value | |
| 8 PASS textElement.rotate.toString() is "[object SVGAnimatedNumberList]" | |
| 9 PASS textElement.rotate.baseVal.toString() is "[object SVGNumberList]" | |
| 10 PASS textElement.rotate.baseVal.getItem(0).value is 50 | |
| 11 | |
| 12 Check that number lists are dynamic, caching value in a local variable and modif
ying it, should take effect | |
| 13 PASS numRef.getItem(0).value is 100 | |
| 14 PASS textElement.rotate.baseVal.getItem(0).value is 100 | |
| 15 | |
| 16 Check that assigning to baseVal has no effect, as no setter is defined | |
| 17 PASS textElement.rotate.baseVal = -1 is -1 | |
| 18 PASS textElement.rotate.baseVal = 'aString' is "aString" | |
| 19 PASS textElement.rotate.baseVal = textElement is textElement | |
| 20 | |
| 21 Check that the rotate value remained 100, and the baseVal type has not been chan
ged | |
| 22 PASS textElement.rotate.baseVal.toString() is "[object SVGNumberList]" | |
| 23 PASS textElement.rotate.baseVal.getItem(0).value is 100 | |
| 24 PASS successfullyParsed is true | |
| 25 | |
| 26 TEST COMPLETE | |
| 27 | |
| OLD | NEW |