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

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/svg-features.html

Issue 2787853002: Remove DOMImplementation.hasFeature()
Patch Set: Created 3 years, 9 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/svg-features.html
diff --git a/third_party/WebKit/LayoutTests/svg/custom/svg-features.html b/third_party/WebKit/LayoutTests/svg/custom/svg-features.html
deleted file mode 100644
index 600491771574df670c48a500facc76c600896ea6..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/custom/svg-features.html
+++ /dev/null
@@ -1,94 +0,0 @@
-<script>
-
-function test() {
- if (window.testRunner)
- testRunner.dumpAsText();
-
- var undefined;
-
- var features = [
- ["org.w3c.svg", "1.0"],
- ["org.w3c.svg.static", "1.0"],
- ["org.w3c.svg.animation", "1.0"],
- ["org.w3c.svg.dynamic", "1.0"],
- ["org.w3c.dom", "1.0"],
- ["org.w3c.dom.svg", "1.0"],
- ["org.w3c.dom.svg.static", "1.0"],
- ["org.w3c.dom.svg.animation", "1.0"],
- ["org.w3c.dom.svg.dynamic", "1.0"],
- ["org.w3c.svg.all", "1.0"],
- ["org.w3c.dom.svg.all", "1.0"],
-
- ["http://www.w3.org/TR/SVG11/feature#SVG", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#SVGDOM", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#SVG-static", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#SVGDOM-static", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#SVG-animation", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#SVGDOM-animation", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#SVG-dynamic", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#SVGDOM-dynamic", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#CoreAttribute", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Structure", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#ContainerAttribute", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#ConditionalProcessing", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Image", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Style", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#ViewportAttribute", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Shape", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Text", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#BasicText", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#PaintAttribute", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#BasicPaintAttribute", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#OpacityAttribute", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#GraphicsAttribute", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#BaseGraphicsAttribute", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Marker", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#ColorProfile", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Gradient", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Pattern", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Clip", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#BasicClip", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Mask", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Filter", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#BasicFilter", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#DocumentEventsAttribute", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#GraphicalEventsAttribute", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#AnimationEventsAttribute", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Cursor", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Hyperlinking", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#XlinkAttribute", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#ExternalResourcesRequired", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#View", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Script", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Animation", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Font", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#BasicFont", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Extensibility", "1.1"]]
-
- for (var i = 0; i < features.length; ++i)
- {
- var item = features[i];
- if (item[1] == "omitted")
- var hasFeature = document.implementation.hasFeature(item[0]);
- else
- var hasFeature = document.implementation.hasFeature(item[0], item[1]);
-
- var item0String = item[0];
- if (typeof item0String == "string")
- item0String = '"' + item0String + '"';
- var item1String = item[1];
- if (typeof item1String == "string" && item[1] != "omitted")
- item1String = '"' + item1String + '"';
- var message = item0String + ', ' + item1String + ': ' + hasFeature;
-
- var div = document.createElement('div');
- div.innerHTML = message;
- document.body.appendChild(div);
- }
-}
-
-</script>
-
-<body onload="test()">
-</body>

Powered by Google App Engine
This is Rietveld 408576698