OLD | NEW |
1 <SCRIPT> | 1 <SCRIPT> |
2 if (window.testRunner) | 2 if (window.testRunner) |
3 testRunner.dumpAsText(); | 3 testRunner.dumpAsText(); |
4 | 4 |
5 var oElement = document.createElement("s") | 5 var oElement = document.createElement("s") |
6 var oElementNS = document.createElementNS("http://example.com/", "example"); | 6 var oElementNS = document.createElementNS("http://example.com/", "example"); |
7 oElementNS.setAttributeNS("http://example.com/", "example", ""); | 7 oElementNS.setAttributeNS(); |
8 var oAttributeNS = oElementNS.getAttributeNodeNS("http://example.com/", "example
"); | 8 var oAttributeNS = oElementNS.getAttributeNodeNS(); |
9 var oAttributeNSClone = oAttributeNS.cloneNode(); | 9 var oAttributeNSClone = oAttributeNS.cloneNode(); |
10 oElement.setAttributeNode(oAttributeNSClone); | 10 oElement.setAttributeNode(oAttributeNSClone); |
11 </SCRIPT> | 11 </SCRIPT> |
12 <BODY> | 12 <BODY> |
13 This tests that an Attribute object is not downcasted to a MappedAttribute. | 13 This tests that an Attribute object is not downcasted to a MappedAttribute. |
14 See http://bugs.webkit.org/show_bug.cgi?id=21032 . | 14 See http://bugs.webkit.org/show_bug.cgi?id=21032 . |
15 </BODY> | 15 </BODY> |
16 | 16 |
17 | 17 |
OLD | NEW |