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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/select/select-multiple-elements-with-mouse-drag-with-options-less-than-size.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <script src="../../resources/js-test.js"></script> 5 <script src="../../../resources/js-test.js"></script>
6 <title></title> 6 <title></title>
7 </head> 7 </head>
8 <body> 8 <body>
9 <p>Select multiple options with mouse drag with no. of options less than the siz e attribute</p> 9 <p>Select multiple options with mouse drag with no. of options less than the siz e attribute</p>
10 <p>Also test mouse drag on select element without multiple attribute select only the option under mouse</p> 10 <p>Also test mouse drag on select element without multiple attribute select only the option under mouse</p>
11 11
12 <select multiple="multiple" size="7" id="selectId"> 12 <select multiple="multiple" size="7" id="selectId">
13 <option value="P1">P1</option> 13 <option value="P1">P1</option>
14 <option value="P2">P2</option> 14 <option value="P2">P2</option>
15 <option value="P3">P3</option> 15 <option value="P3">P3</option>
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 function testOptionSelection(start, end, criteria, element) { 117 function testOptionSelection(start, end, criteria, element) {
118 for (var i = start; i < end; i++) { 118 for (var i = start; i < end; i++) {
119 shouldBe("document.getElementById(\"" + element + "\").options[" + i + " ].selected", criteria); 119 shouldBe("document.getElementById(\"" + element + "\").options[" + i + " ].selected", criteria);
120 } 120 }
121 } 121 }
122 122
123 successfullyParsed = true; 123 successfullyParsed = true;
124 </script> 124 </script>
125 </body> 125 </body>
126 </html> 126 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698