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 | 7 |
8 <form name="f"> | 8 <form name="f"> |
9 <ul> | 9 <ul> |
10 <li>Radio button: | 10 <li>Radio button: |
11 <input type="radio" name="rb2"/>Male | 11 <input type="radio" name="rb2"/>Male |
12 <input type="radio" name="rb2"/>Female | 12 <input type="radio" name="rb2"/>Female |
13 </li> | 13 </li> |
(...skipping 19 matching lines...) Expand all Loading... |
33 shouldBe("document.f.cb1.nodeName", "'INPUT'"); | 33 shouldBe("document.f.cb1.nodeName", "'INPUT'"); |
34 | 34 |
35 shouldBe("document.f.cb2.length", "2"); | 35 shouldBe("document.f.cb2.length", "2"); |
36 shouldBe("document.f.rb2.length", "2"); | 36 shouldBe("document.f.rb2.length", "2"); |
37 | 37 |
38 shouldBe("document.getElementsByName('cb2').length", "2"); | 38 shouldBe("document.getElementsByName('cb2').length", "2"); |
39 shouldBe("document.getElementsByName('rb2').length", "2"); | 39 shouldBe("document.getElementsByName('rb2').length", "2"); |
40 </script> | 40 </script> |
41 </body> | 41 </body> |
42 </html> | 42 </html> |
OLD | NEW |