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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/select/disabled-select-change-index.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
1 <select id="sel1" disabled="disabled"> 1 <select id="sel1" disabled="disabled">
2 <option selected="selected">FAIL</option> 2 <option selected="selected">FAIL</option>
3 <option>PASS</option> 3 <option>PASS</option>
4 </select><br> 4 </select><br>
5 <select id="sel2" disabled="disabled"> 5 <select id="sel2" disabled="disabled">
6 <option selected="selected">FAIL</option> 6 <option selected="selected">FAIL</option>
7 <option>PASS</option> 7 <option>PASS</option>
8 </select><br> 8 </select><br>
9 9
10 <select id="sel3"> 10 <select id="sel3">
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 var sel8 = document.getElementById("sel8"); 97 var sel8 = document.getElementById("sel8");
98 sel8.selectedIndex = 1; 98 sel8.selectedIndex = 1;
99 99
100 if (sel8.selectedIndex == 1) 100 if (sel8.selectedIndex == 1)
101 document.write("PASS: sel8 correctly set to selectedIndex 1 by sel8.selected Index = 1.<br>"); 101 document.write("PASS: sel8 correctly set to selectedIndex 1 by sel8.selected Index = 1.<br>");
102 else 102 else
103 document.write("FAIL: sel8 set to selectedIndex " + sel8.selectedIndex + " i nstead of 1 by sel8.selectedIndex = 1.<br>"); 103 document.write("FAIL: sel8 set to selectedIndex " + sel8.selectedIndex + " i nstead of 1 by sel8.selectedIndex = 1.<br>");
104 104
105 </script> 105 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698