Index: LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js |
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js |
index e1089c1b20edce46e8684d73df71ae31c33f7510..11fe423f095cd01807915793317add903989c7c5 100644 |
--- a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js |
+++ b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js |
@@ -100,7 +100,7 @@ function nodecomparedocumentposition11() { |
elemList = doc.getElementsByTagName("p"); |
elem = elemList.item(3); |
newAttr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang"); |
- replacedAttr = elem.setAttributeNodeNS(newAttr); |
+ replacedAttr = elem.setAttributeNode(newAttr); |
attrPosition = newAttr.compareDocumentPosition(doc); |
assertEquals("nodecomparedocumentpositionPRECEDINGContains11",10,attrPosition); |