Index: LayoutTests/fast/dom/DocumentType/previous-element-sibling.html |
diff --git a/LayoutTests/fast/dom/DocumentType/previous-element-sibling.html b/LayoutTests/fast/dom/DocumentType/previous-element-sibling.html |
index 7809d8f06c34ce8890834a39a3d11824a02e647e..90a2e6d69ebe5250b428de6fb77fdab50e1fe9a4 100644 |
--- a/LayoutTests/fast/dom/DocumentType/previous-element-sibling.html |
+++ b/LayoutTests/fast/dom/DocumentType/previous-element-sibling.html |
@@ -2,11 +2,9 @@ |
<script src="../../../resources/js-test.js"></script> |
<script> |
-description('This tests the ChildNode interface previousElementSibling property on a DocumentType node.'); |
+description('This tests the NonDocumentTypeChildNode interface previousElementSibling property on a DocumentType node.'); |
var doctype = document.doctype; |
-shouldBeNull('doctype.previousElementSibling'); |
-document.insertBefore(new Comment(), doctype); |
-shouldBeNull('doctype.previousElementSibling'); |
+shouldBeUndefined('doctype.previousElementSibling'); |
</script> |