Index: LayoutTests/fast/dom/serialize-nodes.xhtml |
diff --git a/LayoutTests/fast/dom/serialize-nodes.xhtml b/LayoutTests/fast/dom/serialize-nodes.xhtml |
index ae4791dc8b44d631b4556a66c9d2df4f65d34ee0..e9975bef22ae45e83eda51c2da4a851039a12fca 100644 |
--- a/LayoutTests/fast/dom/serialize-nodes.xhtml |
+++ b/LayoutTests/fast/dom/serialize-nodes.xhtml |
@@ -28,8 +28,7 @@ window.addEventListener("load", function() { |
c.setAttributeNS("urn:foo-ns", "foo:name", "one"); |
c.setAttributeNS("urn:bar-ns", "bar:name", "two"); |
var attr = d.createAttributeNS(null, "name"); |
- var text = d.createTextNode("three"); |
- attr.appendChild(text); |
+ attr.value = "three"; |
c.setAttributeNode(attr); |
window.alert("foo:name is " + c.getAttributeNS("urn:foo-ns", "name") + " and should be one"); |