OLD | NEW |
1 This test checks the SVGAnimatedNumber API - utilizing the surfaceScale property
of SVGFESpecularLightingElement | 1 This test checks the SVGAnimatedNumber API - utilizing the surfaceScale property
of SVGFESpecularLightingElement |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 | 6 |
7 Check initial surfaceScale value | 7 Check initial surfaceScale value |
8 PASS feSpecularLightingElement.surfaceScale.toString() is "[object SVGAnimatedNu
mber]" | 8 PASS feSpecularLightingElement.surfaceScale.toString() is "[object SVGAnimatedNu
mber]" |
9 PASS typeof(feSpecularLightingElement.surfaceScale.baseVal) is "number" | 9 PASS typeof(feSpecularLightingElement.surfaceScale.baseVal) is "number" |
10 PASS feSpecularLightingElement.surfaceScale.baseVal is 1 | 10 PASS feSpecularLightingElement.surfaceScale.baseVal is 1 |
11 | 11 |
12 Check that integers are static, caching value in a local variable and modifying
it, should have no effect | 12 Check that integers are static, caching value in a local variable and modifying
it, should have no effect |
13 PASS numRef is 100 | 13 PASS numRef is 100 |
14 PASS feSpecularLightingElement.surfaceScale.baseVal is 1 | 14 PASS feSpecularLightingElement.surfaceScale.baseVal is 1 |
15 | 15 |
16 Check assigning various valid and invalid values | 16 Check assigning various valid and invalid values |
17 PASS feSpecularLightingElement.surfaceScale.baseVal = -1 is -1 | 17 PASS feSpecularLightingElement.surfaceScale.baseVal = -1 is -1 |
18 PASS feSpecularLightingElement.surfaceScale.baseVal = 300 is 300 | 18 PASS feSpecularLightingElement.surfaceScale.baseVal = 300 is 300 |
19 PASS feSpecularLightingElement.surfaceScale.baseVal = 'aString' is 'aString' | 19 PASS feSpecularLightingElement.surfaceScale.baseVal = 'aString' threw exception
TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedNumber': The prov
ided float value is non-finite.. |
20 PASS feSpecularLightingElement.surfaceScale.baseVal is NaN | 20 PASS feSpecularLightingElement.surfaceScale.baseVal is 300 |
21 PASS feSpecularLightingElement.surfaceScale.baseVal = 0 is 0 | 21 PASS feSpecularLightingElement.surfaceScale.baseVal = 0 is 0 |
22 PASS feSpecularLightingElement.surfaceScale.baseVal = feSpecularLightingElement
is feSpecularLightingElement | 22 PASS feSpecularLightingElement.surfaceScale.baseVal = NaN threw exception TypeEr
ror: Failed to set the 'baseVal' property on 'SVGAnimatedNumber': The provided f
loat value is non-finite.. |
23 PASS feSpecularLightingElement.surfaceScale.baseVal is NaN | 23 PASS feSpecularLightingElement.surfaceScale.baseVal is 0 |
| 24 PASS feSpecularLightingElement.surfaceScale.baseVal = Infinity threw exception T
ypeError: Failed to set the 'baseVal' property on 'SVGAnimatedNumber': The provi
ded float value is non-finite.. |
| 25 PASS feSpecularLightingElement.surfaceScale.baseVal is 0 |
| 26 PASS feSpecularLightingElement.surfaceScale.baseVal = feSpecularLightingElement
threw exception TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedN
umber': The provided float value is non-finite.. |
| 27 PASS feSpecularLightingElement.surfaceScale.baseVal is 0 |
24 PASS feSpecularLightingElement.surfaceScale.baseVal = 300 is 300 | 28 PASS feSpecularLightingElement.surfaceScale.baseVal = 300 is 300 |
25 | 29 |
26 Check that the surfaceScale value remained 300 | 30 Check that the surfaceScale value remained 300 |
27 PASS feSpecularLightingElement.surfaceScale.baseVal is 300 | 31 PASS feSpecularLightingElement.surfaceScale.baseVal is 300 |
28 PASS successfullyParsed is true | 32 PASS successfullyParsed is true |
29 | 33 |
30 TEST COMPLETE | 34 TEST COMPLETE |
31 | 35 |
OLD | NEW |