Index: third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedNumber.js |
diff --git a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedNumber.js b/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedNumber.js |
deleted file mode 100644 |
index df19566c44f8ff1bde66a608b750114655554703..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedNumber.js |
+++ /dev/null |
@@ -1,38 +0,0 @@ |
-description("This test checks the SVGAnimatedNumber API - utilizing the surfaceScale property of SVGFESpecularLightingElement"); |
- |
-var feSpecularLightingElement = document.createElementNS("http://www.w3.org/2000/svg", "feSpecularLighting"); |
- |
-debug(""); |
-debug("Check initial surfaceScale value"); |
-shouldBeEqualToString("feSpecularLightingElement.surfaceScale.toString()", "[object SVGAnimatedNumber]"); |
-shouldBeEqualToString("typeof(feSpecularLightingElement.surfaceScale.baseVal)", "number"); |
-shouldBe("feSpecularLightingElement.surfaceScale.baseVal", "1"); |
- |
-debug(""); |
-debug("Check that integers are static, caching value in a local variable and modifying it, should have no effect"); |
-var numRef = feSpecularLightingElement.surfaceScale.baseVal; |
-numRef = 100; |
-shouldBe("numRef", "100"); |
-shouldBe("feSpecularLightingElement.surfaceScale.baseVal", "1"); |
- |
-debug(""); |
-debug("Check assigning various valid and invalid values"); |
-shouldBe("feSpecularLightingElement.surfaceScale.baseVal = -1", "-1"); // Negative values are allowed from SVG DOM, but should lead to an error when rendering (disable the filter) |
-shouldBe("feSpecularLightingElement.surfaceScale.baseVal = 300", "300"); |
-// ECMA-262, 9.3, "ToNumber" |
-shouldThrow("feSpecularLightingElement.surfaceScale.baseVal = 'aString'"); |
-shouldBe("feSpecularLightingElement.surfaceScale.baseVal", "300"); |
-shouldBe("feSpecularLightingElement.surfaceScale.baseVal = 0", "0"); |
-shouldThrow("feSpecularLightingElement.surfaceScale.baseVal = NaN"); |
-shouldBe("feSpecularLightingElement.surfaceScale.baseVal", "0"); |
-shouldThrow("feSpecularLightingElement.surfaceScale.baseVal = Infinity"); |
-shouldBe("feSpecularLightingElement.surfaceScale.baseVal", "0"); |
-shouldThrow("feSpecularLightingElement.surfaceScale.baseVal = feSpecularLightingElement"); |
-shouldBe("feSpecularLightingElement.surfaceScale.baseVal", "0"); |
-shouldBe("feSpecularLightingElement.surfaceScale.baseVal = 300", "300"); |
- |
-debug(""); |
-debug("Check that the surfaceScale value remained 300"); |
-shouldBe("feSpecularLightingElement.surfaceScale.baseVal", "300"); |
- |
-successfullyParsed = true; |