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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/syntax/parsing/Element.getElementsByTagName-foreign-02.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/imported/web-platform-tests/html/syntax/parsing/Element.getElementsByTagName-foreign-02.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/syntax/parsing/Element.getElementsByTagName-foreign-02.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/syntax/parsing/Element.getElementsByTagName-foreign-02.html
deleted file mode 100644
index 7e3b7761fe4c64df271dcc4e4f6f771016565a51..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/syntax/parsing/Element.getElementsByTagName-foreign-02.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!doctype html>
-<title>getElementsByTagName and font</title>
-<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
-<link rel="help" href="https://dom.spec.whatwg.org/#dom-element-getelementsbytagname">
-<link rel="help" href="https://html.spec.whatwg.org/multipage/#parsing">
-<script src="../../../../../resources/testharness.js"></script>
-<script src="../../../../../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<div id="test">
-<svg id="outer">
-<foreignObject>
-<font></font>
-<svg><font/></svg>
-</foreignobject>
-</svg>
-</div>
-<script>
-var HTML = "http://www.w3.org/1999/xhtml", SVG = "http://www.w3.org/2000/svg";
-var wrapper = document.getElementById("outer");
-test(function() {
- assert_equals(wrapper.getElementsByTagName("FONT").length, 1);
- assert_equals(wrapper.getElementsByTagName("FONT")[0].namespaceURI, HTML);
-}, "Upper-case font")
-test(function() {
- assert_equals(wrapper.getElementsByTagName("font").length, 2);
- assert_equals(wrapper.getElementsByTagName("font")[0].namespaceURI, HTML);
- assert_equals(wrapper.getElementsByTagName("font")[1].namespaceURI, SVG);
-}, "Lower-case font")
-</script>

Powered by Google App Engine
This is Rietveld 408576698