| OLD | NEW |
| 1 This test checks the use of SVGAnimatedEnumeration within SVGFETurbulenceElement | 1 This test checks the use of SVGAnimatedEnumeration within SVGFETurbulenceElement |
| 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 'type' value | 7 Check initial 'type' value |
| 8 PASS feTurbulenceElement.type.toString() is "[object SVGAnimatedEnumeration]" | 8 PASS feTurbulenceElement.type.toString() is "[object SVGAnimatedEnumeration]" |
| 9 PASS typeof(feTurbulenceElement.type.baseVal) is "number" | 9 PASS typeof(feTurbulenceElement.type.baseVal) is "number" |
| 10 PASS feTurbulenceElement.type.baseVal is SVGFETurbulenceElement.SVG_TURBULENCE_T
YPE_FRACTALNOISE | 10 PASS feTurbulenceElement.type.baseVal is SVGFETurbulenceElement.SVG_TURBULENCE_T
YPE_FRACTALNOISE |
| 11 | 11 |
| 12 Switch to 'turbulence' | 12 Switch to 'turbulence' |
| 13 PASS feTurbulenceElement.type.baseVal = SVGFETurbulenceElement.SVG_TURBULENCE_TY
PE_TURBULENCE is SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_TURBULENCE | 13 PASS feTurbulenceElement.type.baseVal = SVGFETurbulenceElement.SVG_TURBULENCE_TY
PE_TURBULENCE is SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_TURBULENCE |
| 14 PASS feTurbulenceElement.type.baseVal is SVGFETurbulenceElement.SVG_TURBULENCE_T
YPE_TURBULENCE | 14 PASS feTurbulenceElement.type.baseVal is SVGFETurbulenceElement.SVG_TURBULENCE_T
YPE_TURBULENCE |
| 15 PASS feTurbulenceElement.getAttribute('type') is "turbulence" | 15 PASS feTurbulenceElement.getAttribute('type') is "turbulence" |
| 16 | 16 |
| 17 Try setting invalid values | 17 Try setting invalid values |
| 18 PASS feTurbulenceElement.type.baseVal = 3 threw exception Error: SVG_INVALID_VAL
UE_ERR: DOM SVG Exception 1. | 18 PASS feTurbulenceElement.type.baseVal = 3 threw exception SVG_INVALID_VALUE_ERR:
An invalid value was passed to an operation or assigned to an attribute.. |
| 19 PASS feTurbulenceElement.type.baseVal is SVGFETurbulenceElement.SVG_TURBULENCE_T
YPE_TURBULENCE | 19 PASS feTurbulenceElement.type.baseVal is SVGFETurbulenceElement.SVG_TURBULENCE_T
YPE_TURBULENCE |
| 20 PASS feTurbulenceElement.getAttribute('type') is "turbulence" | 20 PASS feTurbulenceElement.getAttribute('type') is "turbulence" |
| 21 PASS feTurbulenceElement.type.baseVal = -1 threw exception Error: SVG_INVALID_VA
LUE_ERR: DOM SVG Exception 1. | 21 PASS feTurbulenceElement.type.baseVal = -1 threw exception SVG_INVALID_VALUE_ERR
: An invalid value was passed to an operation or assigned to an attribute.. |
| 22 PASS feTurbulenceElement.type.baseVal is SVGFETurbulenceElement.SVG_TURBULENCE_T
YPE_TURBULENCE | 22 PASS feTurbulenceElement.type.baseVal is SVGFETurbulenceElement.SVG_TURBULENCE_T
YPE_TURBULENCE |
| 23 PASS feTurbulenceElement.getAttribute('type') is "turbulence" | 23 PASS feTurbulenceElement.getAttribute('type') is "turbulence" |
| 24 PASS feTurbulenceElement.type.baseVal = 0 threw exception Error: SVG_INVALID_VAL
UE_ERR: DOM SVG Exception 1. | 24 PASS feTurbulenceElement.type.baseVal = 0 threw exception SVG_INVALID_VALUE_ERR:
An invalid value was passed to an operation or assigned to an attribute.. |
| 25 PASS feTurbulenceElement.type.baseVal is SVGFETurbulenceElement.SVG_TURBULENCE_T
YPE_TURBULENCE | 25 PASS feTurbulenceElement.type.baseVal is SVGFETurbulenceElement.SVG_TURBULENCE_T
YPE_TURBULENCE |
| 26 PASS feTurbulenceElement.getAttribute('type') is "turbulence" | 26 PASS feTurbulenceElement.getAttribute('type') is "turbulence" |
| 27 | 27 |
| 28 Switch to 'fractalNoise' | 28 Switch to 'fractalNoise' |
| 29 PASS feTurbulenceElement.type.baseVal = SVGFETurbulenceElement.SVG_TURBULENCE_TY
PE_FRACTALNOISE is SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_FRACTALNOISE | 29 PASS feTurbulenceElement.type.baseVal = SVGFETurbulenceElement.SVG_TURBULENCE_TY
PE_FRACTALNOISE is SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_FRACTALNOISE |
| 30 PASS feTurbulenceElement.type.baseVal is SVGFETurbulenceElement.SVG_TURBULENCE_T
YPE_FRACTALNOISE | 30 PASS feTurbulenceElement.type.baseVal is SVGFETurbulenceElement.SVG_TURBULENCE_T
YPE_FRACTALNOISE |
| 31 PASS feTurbulenceElement.getAttribute('type') is "fractalNoise" | 31 PASS feTurbulenceElement.getAttribute('type') is "fractalNoise" |
| 32 | 32 |
| 33 Check initial 'stitchTiles' value | 33 Check initial 'stitchTiles' value |
| 34 PASS feTurbulenceElement.stitchTiles.toString() is "[object SVGAnimatedEnumerati
on]" | 34 PASS feTurbulenceElement.stitchTiles.toString() is "[object SVGAnimatedEnumerati
on]" |
| 35 PASS typeof(feTurbulenceElement.stitchTiles.baseVal) is "number" | 35 PASS typeof(feTurbulenceElement.stitchTiles.baseVal) is "number" |
| 36 PASS feTurbulenceElement.stitchTiles.baseVal is SVGFETurbulenceElement.SVG_STITC
HTYPE_STITCH | 36 PASS feTurbulenceElement.stitchTiles.baseVal is SVGFETurbulenceElement.SVG_STITC
HTYPE_STITCH |
| 37 | 37 |
| 38 Switch to 'noStitch' | 38 Switch to 'noStitch' |
| 39 PASS feTurbulenceElement.stitchTiles.baseVal = SVGFETurbulenceElement.SVG_STITCH
TYPE_NOSTITCH is SVGFETurbulenceElement.SVG_STITCHTYPE_NOSTITCH | 39 PASS feTurbulenceElement.stitchTiles.baseVal = SVGFETurbulenceElement.SVG_STITCH
TYPE_NOSTITCH is SVGFETurbulenceElement.SVG_STITCHTYPE_NOSTITCH |
| 40 PASS feTurbulenceElement.stitchTiles.baseVal is SVGFETurbulenceElement.SVG_STITC
HTYPE_NOSTITCH | 40 PASS feTurbulenceElement.stitchTiles.baseVal is SVGFETurbulenceElement.SVG_STITC
HTYPE_NOSTITCH |
| 41 PASS feTurbulenceElement.getAttribute('stitchTiles') is "noStitch" | 41 PASS feTurbulenceElement.getAttribute('stitchTiles') is "noStitch" |
| 42 | 42 |
| 43 Try setting invalid values | 43 Try setting invalid values |
| 44 PASS feTurbulenceElement.stitchTiles.baseVal = 3 threw exception Error: SVG_INVA
LID_VALUE_ERR: DOM SVG Exception 1. | 44 PASS feTurbulenceElement.stitchTiles.baseVal = 3 threw exception SVG_INVALID_VAL
UE_ERR: An invalid value was passed to an operation or assigned to an attribute.
. |
| 45 PASS feTurbulenceElement.stitchTiles.baseVal is SVGFETurbulenceElement.SVG_STITC
HTYPE_NOSTITCH | 45 PASS feTurbulenceElement.stitchTiles.baseVal is SVGFETurbulenceElement.SVG_STITC
HTYPE_NOSTITCH |
| 46 PASS feTurbulenceElement.getAttribute('stitchTiles') is "noStitch" | 46 PASS feTurbulenceElement.getAttribute('stitchTiles') is "noStitch" |
| 47 PASS feTurbulenceElement.stitchTiles.baseVal = -1 threw exception Error: SVG_INV
ALID_VALUE_ERR: DOM SVG Exception 1. | 47 PASS feTurbulenceElement.stitchTiles.baseVal = -1 threw exception SVG_INVALID_VA
LUE_ERR: An invalid value was passed to an operation or assigned to an attribute
.. |
| 48 PASS feTurbulenceElement.stitchTiles.baseVal is SVGFETurbulenceElement.SVG_STITC
HTYPE_NOSTITCH | 48 PASS feTurbulenceElement.stitchTiles.baseVal is SVGFETurbulenceElement.SVG_STITC
HTYPE_NOSTITCH |
| 49 PASS feTurbulenceElement.getAttribute('stitchTiles') is "noStitch" | 49 PASS feTurbulenceElement.getAttribute('stitchTiles') is "noStitch" |
| 50 PASS feTurbulenceElement.stitchTiles.baseVal = 0 threw exception Error: SVG_INVA
LID_VALUE_ERR: DOM SVG Exception 1. | 50 PASS feTurbulenceElement.stitchTiles.baseVal = 0 threw exception SVG_INVALID_VAL
UE_ERR: An invalid value was passed to an operation or assigned to an attribute.
. |
| 51 PASS feTurbulenceElement.stitchTiles.baseVal is SVGFETurbulenceElement.SVG_STITC
HTYPE_NOSTITCH | 51 PASS feTurbulenceElement.stitchTiles.baseVal is SVGFETurbulenceElement.SVG_STITC
HTYPE_NOSTITCH |
| 52 PASS feTurbulenceElement.getAttribute('stitchTiles') is "noStitch" | 52 PASS feTurbulenceElement.getAttribute('stitchTiles') is "noStitch" |
| 53 | 53 |
| 54 Switch to 'stitch' | 54 Switch to 'stitch' |
| 55 PASS feTurbulenceElement.stitchTiles.baseVal = SVGFETurbulenceElement.SVG_STITCH
TYPE_STITCH is SVGFETurbulenceElement.SVG_STITCHTYPE_STITCH | 55 PASS feTurbulenceElement.stitchTiles.baseVal = SVGFETurbulenceElement.SVG_STITCH
TYPE_STITCH is SVGFETurbulenceElement.SVG_STITCHTYPE_STITCH |
| 56 PASS feTurbulenceElement.stitchTiles.baseVal is SVGFETurbulenceElement.SVG_STITC
HTYPE_STITCH | 56 PASS feTurbulenceElement.stitchTiles.baseVal is SVGFETurbulenceElement.SVG_STITC
HTYPE_STITCH |
| 57 PASS feTurbulenceElement.getAttribute('stitchTiles') is "stitch" | 57 PASS feTurbulenceElement.getAttribute('stitchTiles') is "stitch" |
| 58 PASS successfullyParsed is true | 58 PASS successfullyParsed is true |
| 59 | 59 |
| 60 TEST COMPLETE | 60 TEST COMPLETE |
| 61 | 61 |
| OLD | NEW |