Index: third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFEMorphologyElement.js |
diff --git a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFEMorphologyElement.js b/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFEMorphologyElement.js |
deleted file mode 100644 |
index 90ddf7393ff8d3c51cba903e66c60d2fa78b2d2c..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFEMorphologyElement.js |
+++ /dev/null |
@@ -1,38 +0,0 @@ |
-description("This test checks the use of SVGAnimatedEnumeration within SVGFEMorphologyElement"); |
- |
-var feMorphologyElement = document.createElementNS("http://www.w3.org/2000/svg", "feMorphology"); |
-feMorphologyElement.setAttribute("operator", "erode"); |
- |
-debug(""); |
-debug("Check initial 'operator' value"); |
-shouldBeEqualToString("feMorphologyElement.operator.toString()", "[object SVGAnimatedEnumeration]"); |
-shouldBeEqualToString("typeof(feMorphologyElement.operator.baseVal)", "number"); |
-shouldBe("feMorphologyElement.operator.baseVal", "SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE"); |
- |
-debug(""); |
-debug("Switch to 'dilate'"); |
-shouldBe("feMorphologyElement.operator.baseVal = SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE", "SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE"); |
-shouldBe("feMorphologyElement.operator.baseVal", "SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE"); |
-shouldBeEqualToString("feMorphologyElement.getAttribute('operator')", "dilate"); |
- |
-debug(""); |
-debug("Try setting invalid values"); |
-shouldThrow("feMorphologyElement.operator.baseVal = 4"); |
-shouldBe("feMorphologyElement.operator.baseVal", "SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE"); |
-shouldBeEqualToString("feMorphologyElement.getAttribute('operator')", "dilate"); |
- |
-shouldThrow("feMorphologyElement.operator.baseVal = -1"); |
-shouldBe("feMorphologyElement.operator.baseVal", "SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE"); |
-shouldBeEqualToString("feMorphologyElement.getAttribute('operator')", "dilate"); |
- |
-shouldThrow("feMorphologyElement.operator.baseVal = 0"); |
-shouldBe("feMorphologyElement.operator.baseVal", "SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE"); |
-shouldBeEqualToString("feMorphologyElement.getAttribute('operator')", "dilate"); |
- |
-debug(""); |
-debug("Switch to 'erode'"); |
-shouldBe("feMorphologyElement.operator.baseVal = SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE", "SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE"); |
-shouldBe("feMorphologyElement.operator.baseVal", "SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE"); |
-shouldBeEqualToString("feMorphologyElement.getAttribute('operator')", "erode"); |
- |
-successfullyParsed = true; |