Index: LayoutTests/fast/dom/DocumentType/next-element-sibling.html |
diff --git a/LayoutTests/fast/dom/DocumentType/next-element-sibling.html b/LayoutTests/fast/dom/DocumentType/next-element-sibling.html |
index c07f29c09e136c36de82b6796d6f8b30687d9960..60daca8bcab16c5ab9136f73e9e4ba06f50ef4fd 100644 |
--- a/LayoutTests/fast/dom/DocumentType/next-element-sibling.html |
+++ b/LayoutTests/fast/dom/DocumentType/next-element-sibling.html |
@@ -2,11 +2,9 @@ |
<script src="../../../resources/js-test.js"></script> |
<script> |
-description('This tests the ChildNode interface nextElementSibling property on a DocumentType node.'); |
+description('This tests the NonDocumentTypeChildNode interface nextElementSibling property on a DocumentType node.'); |
var doctype = document.doctype; |
-shouldBe('doctype.nextElementSibling', 'document.documentElement'); |
-document.insertBefore(new Comment(), document.documentElement); |
-shouldBe('doctype.nextElementSibling', 'document.documentElement'); |
+shouldBeUndefined('doctype.nextElementSibling'); |
</script> |