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 26 matching lines...) Expand all Loading... |
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 TypeError: Failed to set th
e 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided
is 0, which is not settable.. | 39 PASS feBlendElement.mode.baseVal = 0 threw exception TypeError: Failed to set th
e 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided
is 0, which is not settable.. |
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 |
| 48 baseVal access when mode is set to a value not in SVGFEBlendElement.SVG_FEBLEND_
MODE_*. |
| 49 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_UNKNOWN |
| 50 PASS feBlendElement.mode.baseVal = 13 threw exception TypeError: Failed to set t
he 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provide
d (13) is larger than the largest allowed value (5).. |
| 51 PASS feBlendElement.getAttribute('mode') is "color-dodge" |
47 PASS successfullyParsed is true | 52 PASS successfullyParsed is true |
48 | 53 |
49 TEST COMPLETE | 54 TEST COMPLETE |
50 | 55 |
OLD | NEW |