| Index: LayoutTests/fast/dom/Node/script-tests/initial-values.js
|
| diff --git a/LayoutTests/fast/dom/Node/script-tests/initial-values.js b/LayoutTests/fast/dom/Node/script-tests/initial-values.js
|
| index cfcd9a2b98c652501f7240b22de65826a68d12bf..23dbdc65006c60cc4a4960ce90abc6040517c762 100644
|
| --- a/LayoutTests/fast/dom/Node/script-tests/initial-values.js
|
| +++ b/LayoutTests/fast/dom/Node/script-tests/initial-values.js
|
| @@ -13,6 +13,16 @@ shouldBe("attr.namespaceURI", "null");
|
| shouldBe("attr.prefix", "null");
|
| shouldBe("attr.value", "''");
|
|
|
| +debug("Attribute creation using createElementNS on an HTML doc:")
|
| +attr = document.createAttributeNS("http://www.example.com", "example:foo");
|
| +shouldBe("attr.nodeName", "'example:foo'");
|
| +shouldBe("attr.name", "'example:foo'");
|
| +shouldBe("attr.localName", "'foo'");
|
| +shouldBe("attr.namespaceURI", "'http://www.example.com'");
|
| +shouldBe("attr.prefix", "'example'");
|
| +shouldBe("attr.nodeValue", "''");
|
| +shouldBe("attr.value", "''");
|
| +
|
| debug("Attribute creation using createElement on an XHTML doc:")
|
| attr = xmlDoc.createAttribute("foo");
|
| shouldBe("attr.nodeName", "'foo'");
|
| @@ -24,6 +34,16 @@ shouldBe("attr.namespaceURI", "null");
|
| shouldBe("attr.prefix", "null");
|
| shouldBe("attr.value", "''");
|
|
|
| +debug("Attribute creation using createElementNS on an XHTML doc:")
|
| +attr = xmlDoc.createAttributeNS("http://www.example.com", "example:foo");
|
| +shouldBe("attr.nodeName", "'example:foo'");
|
| +shouldBe("attr.name", "'example:foo'");
|
| +shouldBe("attr.localName", "'foo'");
|
| +shouldBe("attr.namespaceURI", "'http://www.example.com'");
|
| +shouldBe("attr.prefix", "'example'");
|
| +shouldBe("attr.nodeValue", "''");
|
| +shouldBe("attr.value", "''");
|
| +
|
| var comment = document.createComment("foo");
|
| shouldBe("comment.nodeName", "'#comment'");
|
| shouldBe("comment.localName", "null");
|
|
|