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

Unified Diff: LayoutTests/fast/dom/DocumentType/previous-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
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>

Powered by Google App Engine
This is Rietveld 408576698