| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../../js/resources/js-test-pre.js"></script> | 2 <script src="../../js/resources/js-test-pre.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 ChildNode interface previousElementSibling property
on a DocumentType node.'); |
| 6 | 6 |
| 7 var doctype = document.doctype; | 7 var doctype = document.doctype; |
| 8 shouldBeNull('doctype.previousElementSibling'); | 8 shouldBeNull('doctype.previousElementSibling'); |
| 9 document.insertBefore(new Comment(), doctype); | 9 document.insertBefore(new Comment(), doctype); |
| 10 shouldBeNull('doctype.previousElementSibling'); | 10 shouldBeNull('doctype.previousElementSibling'); |
| 11 | 11 |
| 12 </script> | 12 </script> |
| 13 <script src="../../js/resources/js-test-post.js"></script> | |
| OLD | NEW |