| OLD | NEW |
| (Empty) |
| 1 SVG 1.1 dynamic update tests | |
| 2 | |
| 3 Tests dynamic updates of the SVGMarkerElement object by using it's 'setOrientToA
ngle' method | |
| 4 | |
| 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 6 | |
| 7 | |
| 8 PASS markerElement.orientType.baseVal is SVGMarkerElement.SVG_MARKER_ORIENT_AUTO | |
| 9 PASS markerElement.orientAngle.baseVal.value is 0 | |
| 10 PASS markerElement.setOrientToAngle() threw exception TypeError: Failed to execu
te 'setOrientToAngle' on 'SVGMarkerElement': 1 argument required, but only 0 pre
sent.. | |
| 11 PASS markerElement.setOrientToAngle(true) threw exception TypeError: Failed to e
xecute 'setOrientToAngle' on 'SVGMarkerElement': parameter 1 is not of type 'SVG
Angle'.. | |
| 12 PASS markerElement.setOrientToAngle(2) threw exception TypeError: Failed to exec
ute 'setOrientToAngle' on 'SVGMarkerElement': parameter 1 is not of type 'SVGAng
le'.. | |
| 13 PASS markerElement.setOrientToAngle('aString') threw exception TypeError: Failed
to execute 'setOrientToAngle' on 'SVGMarkerElement': parameter 1 is not of type
'SVGAngle'.. | |
| 14 PASS markerElement.setOrientToAngle(markerElement) threw exception TypeError: Fa
iled to execute 'setOrientToAngle' on 'SVGMarkerElement': parameter 1 is not of
type 'SVGAngle'.. | |
| 15 PASS markerElement.orientType.baseVal is SVGMarkerElement.SVG_MARKER_ORIENT_ANGL
E | |
| 16 PASS markerElement.orientAngle.baseVal.value is 0 | |
| 17 PASS successfullyParsed is true | |
| 18 | |
| 19 TEST COMPLETE | |
| 20 | |
| OLD | NEW |