Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(648)

Unified Diff: LayoutTests/fast/dom/DocumentType/next-element-sibling.html

Issue 799523002: Split NonDocumentTypeChildNode from ChildNode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/DocumentType/next-element-sibling-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/DocumentType/next-element-sibling-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698