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

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

Issue 779963002: Add the 'lighter' composite operation to feComposite. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years 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-SVGFECompositeElement.js
diff --git a/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFECompositeElement.js b/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFECompositeElement.js
index d57a9cefc802642217029e32eb4a00c593f31d99..e2875d72351a6603a208fdcd77e547737322b469 100644
--- a/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFECompositeElement.js
+++ b/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFECompositeElement.js
@@ -59,4 +59,10 @@ shouldBe("feCompositeElement.operator.baseVal = SVGFECompositeElement.SVG_FECOMP
shouldBe("feCompositeElement.operator.baseVal", "SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER");
shouldBeEqualToString("feCompositeElement.getAttribute('operator')", "over");
+debug("");
+debug("Switch to 'lighter'");
+shouldBeUndefined("SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_LIGHTER");
+feCompositeElement.setAttribute("operator", "lighter");
+shouldBe("feCompositeElement.operator.baseVal", "SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_UNKNOWN");
+
successfullyParsed = true;
« no previous file with comments | « LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFECompositeElement-expected.txt ('k') | LayoutTests/svg/filters/feComposite.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698