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

Unified Diff: LayoutTests/svg/dom/font-face-elements.html

Issue 656913006: Remove SVG fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update tests for landing Created 6 years, 2 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/dom/font-face-elements.html
diff --git a/LayoutTests/svg/dom/font-face-elements.html b/LayoutTests/svg/dom/font-face-elements.html
deleted file mode 100644
index 23318be0871ca45c5ea2045095cb154908af8104..0000000000000000000000000000000000000000
--- a/LayoutTests/svg/dom/font-face-elements.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script>
-
-description("This tests to make sure we have all the font-face related dom bindings.");
-
-function stringsShouldBeEqual(a, b) {
-
-}
-
-function checkForBinding(namespace, elementName, className) {
- var element = document.createElementNS(namespace, elementName);
- if (element.toString() == "[object " + className + "]") {
- testPassed(elementName + " in " + namespace + " is JS object " + className);
- } else {
- testFailed(elementName + " in " + namespace + " is NOT JS object " + className + ", rather: " + element);
- }
-}
-
-var svgNs = "http://www.w3.org/2000/svg";
-
-checkForBinding(svgNs, "font-face", "SVGFontFaceElement");
-checkForBinding(svgNs, "font-face-name", "SVGFontFaceNameElement");
-checkForBinding(svgNs, "font-face-format", "SVGFontFaceFormatElement");
-checkForBinding(svgNs, "font-face-src", "SVGFontFaceSrcElement");
-checkForBinding(svgNs, "font-face-uri", "SVGFontFaceUriElement");
-
-
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698