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