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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/dom/DocumentType/next-element-sibling-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script> 2 <script src="../../../resources/js-test.js"></script>
3 <script> 3 <script>
4 4
5 description('This tests the ChildNode interface nextElementSibling property on a DocumentType node.'); 5 description('This tests the NonDocumentTypeChildNode interface nextElementSiblin g property on a DocumentType node.');
6 6
7 var doctype = document.doctype; 7 var doctype = document.doctype;
8 shouldBe('doctype.nextElementSibling', 'document.documentElement'); 8 shouldBeUndefined('doctype.nextElementSibling');
9 document.insertBefore(new Comment(), document.documentElement);
10 shouldBe('doctype.nextElementSibling', 'document.documentElement');
11 9
12 </script> 10 </script>
OLDNEW
« 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