Index: LayoutTests/fast/dom/Element/setAttributeNode-for-existing-attribute-html-expected.txt |
diff --git a/LayoutTests/fast/dom/Element/setAttributeNode-for-existing-attribute-html-expected.txt b/LayoutTests/fast/dom/Element/setAttributeNode-for-existing-attribute-html-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..539b79612713e72cefd9cacb9eaf2fefe1278a20 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/Element/setAttributeNode-for-existing-attribute-html-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 overwritten for HTML documents. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS doc.documentElement.attributes.length is 1 |
+PASS doc.documentElement.getAttribute("x") is "X" |
+PASS doc.documentElement.getAttribute("X") is "X" |
+PASS doc.documentElement.attributes.length is 1 |
+PASS doc.documentElement.getAttribute("x") is "Y" |
+PASS doc.documentElement.getAttribute("X") is "Y" |
+ |