Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/listbox-clear-restore-expected.html

Issue 1509853008: Move select/option/optgroup-related tests in fast/forms to fast/forms/select. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE>
2 <html>
3 <body onload="test()">
4 <select id="myList" size="10" multiple></select>
5 <script>
6 function populateList()
7 {
8 var myList = document.getElementById("myList");
9 var item;
10
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);
16 }
17 }
18
19 function test()
20 {
21 populateList();
22 }
23 </script>
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698