blob: b2ccb4eb9b04a7c5ce67bb014b3af0e401cd5253 [file] [log] [blame]
<html>
<head>
<script src="../../resources/js-test.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>
</body>
</html>