2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / fast / dom / document-all-select.html
blob217e369db5aeb6744664d2e352eaa52959e31f1a
1 <html>
2 <head>
3 <link rel="stylesheet" href="../js/resources/js-test-style.css">
4 <script src="../js/resources/js-test-pre.js"></script>
5 <script>
6 if (window.layoutTestController)
7 layoutTestController.dumpAsText();
8 </script>
9 </head>
10 <body>
11 <p id="description"></p>
12 <div id="console"></div>
13 <select name="myselect" style="visibility: hidden;">
14 <option value="1">A</option>
15 <option value="2">B</option>
16 </select>
17 <script>
18 description("This tests that &lt;select&gt; elements are available by name through document.all.");
19 shouldBe("document.all.myselect.length", "2");
20 successfullyParsed = true;
21 </script>
22 <script src="../js/resources/js-test-post.js"></script>
23 </body>
24 </html>