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

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedNumberList.js

Issue 2713833002: Convert LayoutTests/svg/dom/SVGAnimated*.html js-tests.js to testharness.js based tests. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedNumber.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedNumberList.js
diff --git a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedNumberList.js b/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedNumberList.js
deleted file mode 100644
index c4516b47f5193a0040e88c163b43ae11865b8cbf..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedNumberList.js
+++ /dev/null
@@ -1,30 +0,0 @@
-description("This test checks the SVGAnimatedNumberList API - utilizing the rotate property of SVGTextElement");
-
-var textElement = document.createElementNS("http://www.w3.org/2000/svg", "text");
-textElement.setAttribute("rotate", "50");
-
-debug("");
-debug("Check initial rotate value");
-shouldBeEqualToString("textElement.rotate.toString()", "[object SVGAnimatedNumberList]");
-shouldBeEqualToString("textElement.rotate.baseVal.toString()", "[object SVGNumberList]");
-shouldBe("textElement.rotate.baseVal.getItem(0).value", "50");
-
-debug("");
-debug("Check that number lists are dynamic, caching value in a local variable and modifying it, should take effect");
-var numRef = textElement.rotate.baseVal;
-numRef.getItem(0).value = 100;
-shouldBe("numRef.getItem(0).value", "100");
-shouldBe("textElement.rotate.baseVal.getItem(0).value", "100");
-
-debug("");
-debug("Check that assigning to baseVal has no effect, as no setter is defined");
-shouldBe("textElement.rotate.baseVal = -1", "-1");
-shouldBeEqualToString("textElement.rotate.baseVal = 'aString'", "aString");
-shouldBe("textElement.rotate.baseVal = textElement", "textElement");
-
-debug("");
-debug("Check that the rotate value remained 100, and the baseVal type has not been changed");
-shouldBeEqualToString("textElement.rotate.baseVal.toString()", "[object SVGNumberList]");
-shouldBe("textElement.rotate.baseVal.getItem(0).value", "100");
-
-successfullyParsed = true;
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedNumber.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698