WebCore:
[WebKit-https.git] / LayoutTests / fast / forms / menulist-selection-reset.html
1 <select id="select">
2     <option>FAIL</option>
3     <option>PASS</option>
4     <option selected="true">Did not run</option>
5 </select>
6 <p id="result">
7 </p>
8 <script>
9     if (window.layoutTestController)
10         layoutTestController.dumpAsText();
11
12     select.selectedIndex = 1;
13     result.innerText = select.selectedIndex == 1 ? "PASS" : "FAIL";
14 </script>