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

Unified Diff: LayoutTests/fast/dom/Element/setAttributeNode-for-existing-attribute-xml-expected.txt

Issue 22842013: setAttributeNode() does not set the new value to an existing attribute if specified attribute is in… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: modifying the layout testcase Created 7 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: LayoutTests/fast/dom/Element/setAttributeNode-for-existing-attribute-xml-expected.txt
diff --git a/LayoutTests/fast/dom/Element/setAttributeNode-for-existing-attribute-xml-expected.txt b/LayoutTests/fast/dom/Element/setAttributeNode-for-existing-attribute-xml-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..057fdd35abf7be9c58e7ee414302b0f5927f598e
--- /dev/null
+++ b/LayoutTests/fast/dom/Element/setAttributeNode-for-existing-attribute-xml-expected.txt
@@ -0,0 +1,12 @@
+Testcase for bug 279193: setAttributeNode() does not set the new value to an existing attribute if specified attribute is in a different case. This testcase verifies that attributes with the same name but in different case are added separately for XML documents.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS doc.documentElement.attributes.length is 2
+PASS doc.documentElement.getAttribute("x") is "x"
+PASS doc.documentElement.getAttribute("X") is "X"
+PASS doc.documentElement.attributes.length is 2
+PASS doc.documentElement.getAttribute("x") is "x"
+PASS doc.documentElement.getAttribute("X") is "Y"
+

Powered by Google App Engine
This is Rietveld 408576698