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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-getElementsByTagName-xhtml.xhtml

Issue 2254503003: W3C auto test importer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 'Modifies TestExpectations and/or downloads new baselines for tests' Created 4 years, 4 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/wpt/dom/nodes/Document-getElementsByTagName-xhtml.xhtml
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-getElementsByTagName-xhtml.xhtml b/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-getElementsByTagName-xhtml.xhtml
index 2ae90748c2ffae39550f477e0b489efd939ff96d..309a29ae772351d71577a0df7792a8a3fb214d76 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-getElementsByTagName-xhtml.xhtml
+++ b/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-getElementsByTagName-xhtml.xhtml
@@ -71,17 +71,17 @@ test(function() {
test(function() {
var t = document.body.appendChild(document.createElementNS("http://www.w3.org/1999/xhtml", "test:aÇ"))
this.add_cleanup(function() {document.body.removeChild(t)})
- assert_array_equals(document.getElementsByTagName("AÇ"), [], "All uppercase input")
- assert_array_equals(document.getElementsByTagName("aÇ"), [t], "Ascii lowercase input")
- assert_array_equals(document.getElementsByTagName("aç"), [], "All lowercase input")
+ assert_array_equals(document.getElementsByTagName("TEST:AÇ"), [], "All uppercase input")
+ assert_array_equals(document.getElementsByTagName("test:aÇ"), [t], "Ascii lowercase input")
+ assert_array_equals(document.getElementsByTagName("test:aç"), [], "All lowercase input")
}, "Element in HTML namespace, prefix, non-ascii characters in name")
test(function() {
- var t = document.body.appendChild(document.createElementNS("test", "test:AÇ"))
+ var t = document.body.appendChild(document.createElementNS("test", "TEST:AÇ"))
this.add_cleanup(function() {document.body.removeChild(t)})
- assert_array_equals(document.getElementsByTagName("AÇ"), [t], "All uppercase input")
- assert_array_equals(document.getElementsByTagName("aÇ"), [], "Ascii lowercase input")
- assert_array_equals(document.getElementsByTagName("aç"), [], "All lowercase input")
+ assert_array_equals(document.getElementsByTagName("TEST:AÇ"), [t], "All uppercase input")
+ assert_array_equals(document.getElementsByTagName("test:aÇ"), [], "Ascii lowercase input")
+ assert_array_equals(document.getElementsByTagName("test:aç"), [], "All lowercase input")
}, "Element in non-HTML namespace, prefix, non-ascii characters in name")
test(function() {

Powered by Google App Engine
This is Rietveld 408576698