Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / listbox-clear-restore-expected.html
blob56ca816ac4ac9d68f5c782e78ed5d435830e4766
1 <!DOCTYPE>
2 <html>
3 <body onload="test()">
4 <select id="myList" size="10" multiple></select>
5 <script>
6 function populateList()
8 var myList = document.getElementById("myList");
9 var item;
11 for (var ii = 0; ii < 20; ii++) {
12 item = document.createElement("option");
13 item.value = ii;
14 item.appendChild(document.createTextNode("Item #" + ii));
15 myList.appendChild(item);
19 function test()
21 populateList();
23 </script>
24 </body>
25 </html>