WinCairo build fails to link.
[WebKit-https.git] / Source / WebKit / chromium / tests / data / popup / select_event_remove_on_click.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="message"></div>
5 <select id="s" autofocus>
6 <option>1</option>
7 <option>2</option>
8 <option>3</option>
9 </select>
10 <script>
11 function handler(e) {
12   document.getElementById('message').innerText += "click";
13   select = document.getElementById('s');
14   select.parentNode.removeChild(select);
15 }
16
17 document.getElementById('s').addEventListener('click', handler);
18 </script>
19 </body>
20 </html>