| <html> |
| <head> |
| <link rel="stylesheet" href="../js/resources/js-test-style.css"> |
| <script src="../js/resources/js-test-pre.js"></script> |
| <script> |
| if (window.layoutTestController) |
| layoutTestController.dumpAsText(); |
| </script> |
| </head> |
| <body> |
| <p id="description"></p> |
| <div id="console"></div> |
| <select name="myselect" style="visibility: hidden;"> |
| <option value="1">A</option> |
| <option value="2">B</option> |
| </select> |
| <script> |
| description("This tests that <select> elements are available by name through document.all."); |
| shouldBe("document.all.myselect.length", "2"); |
| successfullyParsed = true; |
| </script> |
| <script src="../js/resources/js-test-post.js"></script> |
| </body> |
| </html> |