blob: 217e369db5aeb6744664d2e352eaa52959e31f1a [file] [log] [blame]
<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 &lt;select&gt; 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>