blob: 0e47f3231c55c5c26921c4dff47faf16ad227e0c [file] [log] [blame]
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<select name="myselect" style="visibility: hidden;">
<option value="1">A</option>
<option value="2">B</option>
</select>
<script>
description("This tests that &lt;select&gt; elements are available by name through document.all.");
shouldBe("document.all.myselect.length", "2");
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>