blob: 0d1798bcdb01442957a86edc9b6932c3b2a52f69 [file] [log] [blame]
Test result:
<select id="target">
<option>FAIL</option>
<option>PASS</option>
</select>
<script type="text/javascript">
var select = document.getElementById("target");
select.offsetTop;
var opts = select.options;
opts[0].selected = false;
opts[1].selected = true;
</script>