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

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/script-tests/immutable-properties.js

Issue 2323653002: Remove SVGSVGElement.viewport attribute (Closed)
Patch Set: rebased Created 4 years, 3 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
Index: third_party/WebKit/LayoutTests/svg/custom/script-tests/immutable-properties.js
diff --git a/third_party/WebKit/LayoutTests/svg/custom/script-tests/immutable-properties.js b/third_party/WebKit/LayoutTests/svg/custom/script-tests/immutable-properties.js
deleted file mode 100644
index 8d6db64e44557dccb04266d40086316d2996d18b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/custom/script-tests/immutable-properties.js
+++ /dev/null
@@ -1,14 +0,0 @@
-description("Tests whether immutable properties can not be modified.");
-
-var svgDoc = document.implementation.createDocument("http://www.w3.org/2000/svg", "svg", null);
-
-// 'viewport' attribute is immutable (Spec: The object itself and its contents are both readonly.)
-var viewport = svgDoc.documentElement.viewport;
-
-shouldBe("viewport.x", "0");
-viewport.x = 100;
-
-shouldBe("viewport.x", "100");
-shouldBe("svgDoc.documentElement.viewport.x", "0");
-
-var successfullyParsed = true;

Powered by Google App Engine
This is Rietveld 408576698