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

Unified Diff: LayoutTests/svg/custom/required-feature-vs-has-feature.svg

Issue 1108293002: Make DOMImplementation.hasFeature() always return true. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: windows compilefix attempt Created 5 years, 8 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: LayoutTests/svg/custom/required-feature-vs-has-feature.svg
diff --git a/LayoutTests/svg/custom/required-feature-vs-has-feature.svg b/LayoutTests/svg/custom/required-feature-vs-has-feature.svg
deleted file mode 100644
index a69f527186105006474e1c5571c16372f4535b3f..0000000000000000000000000000000000000000
--- a/LayoutTests/svg/custom/required-feature-vs-has-feature.svg
+++ /dev/null
@@ -1,17 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg">
- <title>The requiredFeatures attribute and the hasFeature() API should be in agreement</title>
- <text x="20" y="20" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Filter">This text should be visible</text>
- <text x="20" y="40" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Font">This text should not be visible</text>
- <text x="20" y="60" class="Filter">This text should be visible</text>
- <text x="20" y="80" class="Font">This text should not be visible</text>
- <script><![CDATA[
- var textElements = document.querySelectorAll("text[class]");
- Array.prototype.forEach.call(textElements, function(text)
- {
- var feature = "http://www.w3.org/TR/SVG11/feature#" + text.getAttribute("class");
- if (!document.implementation.hasFeature(feature, null)) {
- text.parentNode.removeChild(text);
- }
- });
- ]]></script>
-</svg>

Powered by Google App Engine
This is Rietveld 408576698