OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <title>Node.contains() tests</title> | 2 <title>Node.contains() tests</title> |
3 <link rel=author title="Aryeh Gregor" href=ayg@aryeh.name> | 3 <link rel=author title="Aryeh Gregor" href=ayg@aryeh.name> |
4 <div id=log></div> | 4 <div id=log></div> |
5 <script src=../../../../resources/testharness.js></script> | 5 <script src=../../../../resources/testharness.js></script> |
6 <script src=../../../../resources/testharnessreport.js></script> | 6 <script src=../../../../resources/testharnessreport.js></script> |
7 <script src=../common.js></script> | 7 <script src=../common.js></script> |
8 <script> | 8 <script> |
9 "use strict"; | 9 "use strict"; |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 } else { | 27 } else { |
28 assert_false(reference.contains(other)); | 28 assert_false(reference.contains(other)); |
29 } | 29 } |
30 }, referenceName + ".compareDocumentPosition(" + otherName + ")"); | 30 }, referenceName + ".compareDocumentPosition(" + otherName + ")"); |
31 }); | 31 }); |
32 }); | 32 }); |
33 | 33 |
34 testDiv.parentNode.removeChild(testDiv); | 34 testDiv.parentNode.removeChild(testDiv); |
35 </script> | 35 </script> |
36 <!-- vim: set expandtab tabstop=2 shiftwidth=2: --> | 36 <!-- vim: set expandtab tabstop=2 shiftwidth=2: --> |
OLD | NEW |