OLD | NEW |
1 This test checks the use of SVGAnimatedEnumeration within SVGFEBlendElement | 1 This test checks the use of SVGAnimatedEnumeration within SVGFEBlendElement |
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 'mode' value | 7 Check initial 'mode' value |
8 PASS feBlendElement.mode.toString() is "[object SVGAnimatedEnumeration]" | 8 PASS feBlendElement.mode.toString() is "[object SVGAnimatedEnumeration]" |
9 PASS typeof(feBlendElement.mode.baseVal) is "number" | 9 PASS typeof(feBlendElement.mode.baseVal) is "number" |
10 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL | 10 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL |
(...skipping 12 matching lines...) Expand all Loading... |
23 PASS feBlendElement.mode.baseVal = SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN is
SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN | 23 PASS feBlendElement.mode.baseVal = SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN is
SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN |
24 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN | 24 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN |
25 PASS feBlendElement.getAttribute('mode') is "darken" | 25 PASS feBlendElement.getAttribute('mode') is "darken" |
26 | 26 |
27 Switch to 'lighten' | 27 Switch to 'lighten' |
28 PASS feBlendElement.mode.baseVal = SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN is
SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN | 28 PASS feBlendElement.mode.baseVal = SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN is
SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN |
29 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN | 29 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN |
30 PASS feBlendElement.getAttribute('mode') is "lighten" | 30 PASS feBlendElement.getAttribute('mode') is "lighten" |
31 | 31 |
32 Try setting invalid values | 32 Try setting invalid values |
33 PASS feBlendElement.mode.baseVal = 6 threw exception Error: SVG_INVALID_VALUE_ER
R: DOM SVG Exception 1. | 33 PASS feBlendElement.mode.baseVal = 6 threw exception SVG_INVALID_VALUE_ERR: An i
nvalid value was passed to an operation or assigned to an attribute.. |
34 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN | 34 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN |
35 PASS feBlendElement.getAttribute('mode') is "lighten" | 35 PASS feBlendElement.getAttribute('mode') is "lighten" |
36 PASS feBlendElement.mode.baseVal = -1 threw exception Error: SVG_INVALID_VALUE_E
RR: DOM SVG Exception 1. | 36 PASS feBlendElement.mode.baseVal = -1 threw exception SVG_INVALID_VALUE_ERR: An
invalid value was passed to an operation or assigned to an attribute.. |
37 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN | 37 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN |
38 PASS feBlendElement.getAttribute('mode') is "lighten" | 38 PASS feBlendElement.getAttribute('mode') is "lighten" |
39 PASS feBlendElement.mode.baseVal = 0 threw exception Error: SVG_INVALID_VALUE_ER
R: DOM SVG Exception 1. | 39 PASS feBlendElement.mode.baseVal = 0 threw exception SVG_INVALID_VALUE_ERR: An i
nvalid value was passed to an operation or assigned to an attribute.. |
40 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN | 40 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN |
41 PASS feBlendElement.getAttribute('mode') is "lighten" | 41 PASS feBlendElement.getAttribute('mode') is "lighten" |
42 | 42 |
43 Switch to 'normal' | 43 Switch to 'normal' |
44 PASS feBlendElement.mode.baseVal = SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL is
SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL | 44 PASS feBlendElement.mode.baseVal = SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL is
SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL |
45 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL | 45 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL |
46 PASS feBlendElement.getAttribute('mode') is "normal" | 46 PASS feBlendElement.getAttribute('mode') is "normal" |
47 PASS successfullyParsed is true | 47 PASS successfullyParsed is true |
48 | 48 |
49 TEST COMPLETE | 49 TEST COMPLETE |
50 | 50 |
OLD | NEW |