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 11fe423f095cd01807915793317add903989c7c5..78956e5b4906a9d04e1dad69d9a0b9b79ecc3845 100644 |
--- a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js |
+++ b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js |
@@ -99,7 +99,7 @@ function nodecomparedocumentposition11() { |
doc = load(docRef, "doc", "hc_staff"); |
elemList = doc.getElementsByTagName("p"); |
elem = elemList.item(3); |
- newAttr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang"); |
+ newAttr = doc.createAttribute("xml:lang"); |
replacedAttr = elem.setAttributeNode(newAttr); |
attrPosition = newAttr.compareDocumentPosition(doc); |
assertEquals("nodecomparedocumentpositionPRECEDINGContains11",10,attrPosition); |