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

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

Issue 2705293005: Convert LayoutTests/svg/dom/SVGAnimated*.html js-tests.js to testharness.js based tests. (Closed)
Patch Set: Align with review comments 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/SVGAnimatedPreserveAspectRatio.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/SVGAnimatedRect.js
diff --git a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedRect.js b/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedRect.js
deleted file mode 100644
index 5cb7d03d108adb08f76fc867d13bce60ac94be61..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedRect.js
+++ /dev/null
@@ -1,29 +0,0 @@
-description("This test checks the SVGAnimatedRect API - utilizing the viewBox property of SVGSVGElement");
-
-var svgElement = document.createElementNS("http://www.w3.org/2000/svg", "svg");
-
-debug("");
-debug("Check initial viewBox value");
-shouldBeEqualToString("svgElement.viewBox.toString()", "[object SVGAnimatedRect]");
-shouldBeEqualToString("svgElement.viewBox.baseVal.toString()", "[object SVGRect]");
-shouldBe("svgElement.viewBox.baseVal.x", "0");
-
-debug("");
-debug("Check that rects are dynamic, caching value in a local variable and modifying it, should take effect");
-var numRef = svgElement.viewBox.baseVal;
-numRef.x = 100;
-shouldBe("numRef.x", "100");
-shouldBe("svgElement.viewBox.baseVal.x", "100");
-
-debug("");
-debug("Check that assigning to baseVal has no effect, as no setter is defined");
-shouldBe("svgElement.viewBox.baseVal = -1", "-1");
-shouldBeEqualToString("svgElement.viewBox.baseVal = 'aString'", "aString");
-shouldBe("svgElement.viewBox.baseVal = svgElement", "svgElement");
-
-debug("");
-debug("Check that the viewBox x remained 100, and the baseVal type has not been changed");
-shouldBeEqualToString("svgElement.viewBox.baseVal.toString()", "[object SVGRect]");
-shouldBe("svgElement.viewBox.baseVal.x", "100");
-
-successfullyParsed = true;
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedPreserveAspectRatio.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698