Index: LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFEBlendElement.js |
diff --git a/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFEBlendElement.js b/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFEBlendElement.js |
index 2cd8756cdb2b054a5bf100aa1e4a009a8f4e05a4..abd171d1a256c2892b0217976a1f9762c545f141 100644 |
--- a/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFEBlendElement.js |
+++ b/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFEBlendElement.js |
@@ -53,4 +53,11 @@ shouldBe("feBlendElement.mode.baseVal = SVGFEBlendElement.SVG_FEBLEND_MODE_NORMA |
shouldBe("feBlendElement.mode.baseVal", "SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL"); |
shouldBeEqualToString("feBlendElement.getAttribute('mode')", "normal"); |
+debug(""); |
+debug("baseVal access when mode is set to a value not in SVGFEBlendElement.SVG_FEBLEND_MODE_*."); |
+feBlendElement.setAttribute("mode", "color-dodge"); |
+shouldBe("feBlendElement.mode.baseVal", "SVGFEBlendElement.SVG_FEBLEND_MODE_UNKNOWN"); |
+shouldThrow("feBlendElement.mode.baseVal = 13"); |
+shouldBeEqualToString("feBlendElement.getAttribute('mode')", "color-dodge"); |
+ |
successfullyParsed = true; |