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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
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 previousElementSibling property on a DocumentType node.'); 5 description('This tests the NonDocumentTypeChildNode interface previousElementSi bling property on a DocumentType node.');
6 6
7 var doctype = document.doctype; 7 var doctype = document.doctype;
8 shouldBeNull('doctype.previousElementSibling'); 8 shouldBeUndefined('doctype.previousElementSibling');
9 document.insertBefore(new Comment(), doctype);
10 shouldBeNull('doctype.previousElementSibling');
11 9
12 </script> 10 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698