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

Side by Side Diff: LayoutTests/fast/events/select-element.html

Issue 580013002: Support size<4 rendering of listbox <select>. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <p>This test verifies that the Home/End/PageUp/PageDown keys work correctly for &lt;select&gt; elements. 6 <p>This test verifies that the Home/End/PageUp/PageDown keys work correctly for &lt;select&gt; elements.
7 Since it requires <CODE>eventSender.keyDown</CODE>, it will not run solo in the web browser; it must be run with <KBD>run-webkit-tests</KBD>.</p> 7 Since it requires <CODE>eventSender.keyDown</CODE>, it will not run solo in the web browser; it must be run with <KBD>run-webkit-tests</KBD>.</p>
8 <hr> 8 <hr>
9 <form> 9 <form>
10 <!-- We specify a size of 3 but will end up rendering with 4 because webkit imposes a minimum size of 4. 10 <select name="singleselect" id="ss" size="4" multiple="true">
11 It is important to make sure the code handles this case -->
12 <select name="singleselect" id="ss" size="3" multiple="true">
13 <option value="0">0 </option> 11 <option value="0">0 </option>
14 <option value="1">1 </option> 12 <option value="1">1 </option>
15 <option value="2">2 </option> 13 <option value="2">2 </option>
16 <option value="3">3 </option> 14 <option value="3">3 </option>
17 <option value="4">4 </option> 15 <option value="4">4 </option>
18 <option value="5">5 </option> 16 <option value="5">5 </option>
19 <option value="6">6 </option> 17 <option value="6">6 </option>
20 </select> 18 </select>
21 <select name="singleselectwithdisabled" id="ssd" size="4" multiple="false"> 19 <select name="singleselectwithdisabled" id="ssd" size="4" multiple="false">
22 <option value="0" disabled="true">0 </option> 20 <option value="0" disabled="true">0 </option>
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 testHomeWithDisabledElements(); 291 testHomeWithDisabledElements();
294 testEndWithDisabledElements(); 292 testEndWithDisabledElements();
295 testVariousShiftKeysNoDisabledElements(); 293 testVariousShiftKeysNoDisabledElements();
296 testVariousShiftKeysWithDisabledElements(); 294 testVariousShiftKeysWithDisabledElements();
297 testPageDownWithGroup(); 295 testPageDownWithGroup();
298 testPageUpWithGroup(); 296 testPageUpWithGroup();
299 </script> 297 </script>
300 298
301 </body> 299 </body>
302 </html> 300 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/forms/select-clientheight-with-multiple-attr.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698