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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/select/menulist-selection-reset.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="select"> 1 <select id="select">
2 <option>FAIL</option> 2 <option>FAIL</option>
3 <option>PASS</option> 3 <option>PASS</option>
4 <option selected="true">Did not run</option> 4 <option selected="true">Did not run</option>
5 </select> 5 </select>
6 <p id="result"> 6 <p id="result">
7 </p> 7 </p>
8 <script> 8 <script>
9 if (window.testRunner) 9 if (window.testRunner)
10 testRunner.dumpAsText(); 10 testRunner.dumpAsText();
11 11
12 select.selectedIndex = 1; 12 select.selectedIndex = 1;
13 result.innerText = select.selectedIndex == 1 ? "PASS" : "FAIL"; 13 result.innerText = select.selectedIndex == 1 ? "PASS" : "FAIL";
14 </script> 14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698