1 This test checks the SVGAnimatedNumber API - utilizing the surfaceScale property of SVGFESpecularLightingElement
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 Check initial surfaceScale value
8 PASS feSpecularLightingElement.surfaceScale.toString() is "[object SVGAnimatedNumber]"
9 PASS typeof(feSpecularLightingElement.surfaceScale.baseVal) is "number"
10 PASS feSpecularLightingElement.surfaceScale.baseVal is 1
12 Check that integers are static, caching value in a local variable and modifying it, should have no effect
14 PASS feSpecularLightingElement.surfaceScale.baseVal is 1
16 Check assigning various valid and invalid values
17 PASS feSpecularLightingElement.surfaceScale.baseVal = -1 is -1
18 PASS feSpecularLightingElement.surfaceScale.baseVal = 300 is 300
19 PASS feSpecularLightingElement.surfaceScale.baseVal = 'aString' is 'aString'
20 PASS feSpecularLightingElement.surfaceScale.baseVal is NaN
21 PASS feSpecularLightingElement.surfaceScale.baseVal = 0 is 0
22 PASS feSpecularLightingElement.surfaceScale.baseVal = feSpecularLightingElement is feSpecularLightingElement
23 PASS feSpecularLightingElement.surfaceScale.baseVal is NaN
24 PASS feSpecularLightingElement.surfaceScale.baseVal = 300 is 300
26 Check that the surfaceScale value remained 300
27 PASS feSpecularLightingElement.surfaceScale.baseVal is 300
28 PASS successfullyParsed is true