Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / menulist-selection-reset.html
blob0f790d10a918a06188dcaba6fe48e64fd3aeb390
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.testRunner)
10 testRunner.dumpAsText();
12 select.selectedIndex = 1;
13 result.innerText = select.selectedIndex == 1 ? "PASS" : "FAIL";
14 </script>