OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../../resources/js-test.js"></script> |
4 </head> | 4 </head> |
5 <body> | 5 <body> |
6 <p id="description"></p> | 6 <p id="description"></p> |
7 <div id='div1'>text1</div> | 7 <div id='div1'>text1</div> |
8 <div id='div2'>text2</div><br> | 8 <div id='div2'>text2</div><br> |
9 | 9 |
10 <div id="console"></div> | 10 <div id="console"></div> |
11 | 11 |
12 <script> | 12 <script> |
13 description('This tests that items in a NodeList can be retrieved by index.'); | 13 description('This tests that items in a NodeList can be retrieved by index.'); |
(...skipping 11 matching lines...) Expand all Loading... |
25 // but should be a different div to the one at index 0. | 25 // but should be a different div to the one at index 0. |
26 shouldBeTrue("div0 == div0s"); | 26 shouldBeTrue("div0 == div0s"); |
27 shouldBeFalse("div0 == div0s_"); | 27 shouldBeFalse("div0 == div0s_"); |
28 shouldBeFalse("div0 == div1"); | 28 shouldBeFalse("div0 == div1"); |
29 shouldBeFalse("div0s == div0s_"); | 29 shouldBeFalse("div0s == div0s_"); |
30 shouldBeFalse("div0s == div1"); | 30 shouldBeFalse("div0s == div1"); |
31 shouldBeFalse("div0s_ == div1"); | 31 shouldBeFalse("div0s_ == div1"); |
32 </script> | 32 </script> |
33 </body> | 33 </body> |
34 </html> | 34 </html> |
OLD | NEW |