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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.xhtml

Issue 1515563002: Import web-platform-tests@5dbe45af3ad3a933c03187c72f1c12cbe2877703 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.xhtml
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.xhtml b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.xhtml
deleted file mode 100644
index 88d7df7f8569de9b26eb1e5f1ce71710b5f46fe5..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.xhtml
+++ /dev/null
@@ -1,33 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>getElementsByName and foreign namespaces</title>
-<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com"/>
-<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-getelementsbyname"/>
-<link rel="stylesheet" href="../../../../../../../resources/testharness.css"/>
-<script src="../../../../../../../resources/testharness.js"></script>
-<script src="../../../../../../../resources/testharnessreport.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<div id="test">
-<p name="math"><math name="math" xmlns="http://www.w3.org/1998/Math/MathML">
-<mi>a</mi>
-<mo>+</mo>
-<mi>b</mi>
-</math></p>
-<p name="svg"><svg width="300" height="100" name="svg" xmlns="http://www.w3.org/2000/svg">
-<rect width="300" height="100" fill="rgb(0,0,255)"/>
-</svg></p>
-</div>
-<script>
-test(function() {
- var ps = document.getElementById("test")
- .getElementsByTagName("p");
- assert_equals(document.getElementsByName("math").length, 1);
- assert_equals(document.getElementsByName("math")[0], ps[0]);
- assert_equals(document.getElementsByName("svg").length, 1);
- assert_equals(document.getElementsByName("svg")[0], ps[1]);
-});
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698