OLD | NEW |
(Empty) | |
| 1 Testcase for bug 279193: setAttributeNode() does not set the new value to an exi
sting attribute if specified attribute is in a different case. This testcase ver
ifies that attributes with the same name but in different case are overwritten f
or HTML documents. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS doc.documentElement.attributes.length is 1 |
| 7 PASS doc.documentElement.getAttribute("x") is "X" |
| 8 PASS doc.documentElement.getAttribute("X") is "X" |
| 9 PASS doc.documentElement.attributes.length is 1 |
| 10 PASS doc.documentElement.getAttribute("x") is "Y" |
| 11 PASS doc.documentElement.getAttribute("X") is "Y" |
| 12 PASS successfullyParsed is true |
| 13 |
| 14 TEST COMPLETE |
| 15 |
OLD | NEW |