| OLD | NEW |
| 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
<select> elements. | 6 <p>This test verifies that the Home/End/PageUp/PageDown keys work correctly for
<select> 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 Loading... |
| 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> |
| OLD | NEW |