| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html xmlns="http://www.w3.org/1999/xhtml"> | 2 <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 <head> | 3 <head> |
| 4 <title>Node.nodeName</title> | 4 <title>Node.nodeName</title> |
| 5 <link rel="author" title="Olli Pettay" href="mailto:Olli@Pettay.fi"/> | 5 <link rel="author" title="Olli Pettay" href="mailto:Olli@Pettay.fi"/> |
| 6 <link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"/> | 6 <link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"/> |
| 7 <script src="../../../../resources/testharness.js"></script> | 7 <script src="/resources/testharness.js"></script> |
| 8 <script src="../../../../resources/testharnessreport.js"></script> | 8 <script src="/resources/testharnessreport.js"></script> |
| 9 </head> | 9 </head> |
| 10 <body> | 10 <body> |
| 11 <div id="log"/> | 11 <div id="log"/> |
| 12 <div id="test"> | 12 <div id="test"> |
| 13 <input type="button" id="testbutton"/> | 13 <input type="button" id="testbutton"/> |
| 14 <a id="link">Link text</a> | 14 <a id="link">Link text</a> |
| 15 </div> | 15 </div> |
| 16 <script> | 16 <script> |
| 17 <![CDATA[ | 17 <![CDATA[ |
| 18 test(function() { | 18 test(function() { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 "Document shouldn't contain another document."); | 74 "Document shouldn't contain another document."); |
| 75 assert_equals(document.contains(d.createElement("div")), false, | 75 assert_equals(document.contains(d.createElement("div")), false, |
| 76 "Document shouldn't contain an element from another document."); | 76 "Document shouldn't contain an element from another document."); |
| 77 assert_equals(document.contains(d.documentElement), false, | 77 assert_equals(document.contains(d.documentElement), false, |
| 78 "Document shouldn't contain an element from another document."); | 78 "Document shouldn't contain an element from another document."); |
| 79 }, "contaibs with another document"); | 79 }, "contaibs with another document"); |
| 80 ]]> | 80 ]]> |
| 81 </script> | 81 </script> |
| 82 </body> | 82 </body> |
| 83 </html> | 83 </html> |
| OLD | NEW |