[macOS] Select element doesn't show popup if select element had lost focus while...
[WebKit-https.git] / LayoutTests / fast / forms / select / mac-wk2 / blur-dismisses-select-popup-expected.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p tabindex="1">This tests moving the focus from a select element while its popup menu is open. WebKit should dismiss the popup.</p>
5 <select onmousedown="moveFocus()">
6   <option>Click here</option>
7   <option>You should see this</option>
8 </select>
9 <div id="result">PASS</div>
10 <script> document.querySelector('p').focus(); </script>
11 </body>
12 </html>