Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Unified Diff: LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFEBlendElement.js

Issue 447193002: Add support for additional blend modes to SVGFEBlendElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698