Torne (Richard Coles) | 5c87bf8 | 2012-11-14 11:46:17 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <body> |
| 3 | <style> |
| 4 | td {padding: 20px} |
| 5 | </style> |
| 6 | <br><br> |
| 7 | This test just makes sense if webkit was build with NO_LISTBOX_RENDERING enabled.<br><br> |
| 8 | You should see in the following table three comboboxes and no listboxes.<br><br> |
| 9 | At the right cell you see a description of what should be the state of the elements just after loading this page.<br><br> |
| 10 | <form> |
| 11 | <table border="1"> |
| 12 | <tr> |
| 13 | <td><select><option>1</option><option>2</option></select></td> |
| 14 | <td>combobox in previos cell should have option '1' selected.</td> |
| 15 | </tr> |
| 16 | <tr> |
| 17 | <td><select multiple><option>1</option><option>2</option></select></td> |
| 18 | <td>combobox in previos cell should have no selected option.</td> |
| 19 | </tr> |
| 20 | <tr> |
| 21 | <td><select size="5"><option>1</option><option>2</option>s</select></td> |
| 22 | <td>combobox in previos cell should have no selected option.</td> |
| 23 | </tr> |
| 24 | <tr> |
| 25 | <td> |
| 26 | <select multiple> |
| 27 | <optgroup label="1"></optgroup> |
| 28 | <option>11</option> |
| 29 | <option>12</option> |
| 30 | <option>13</option> |
| 31 | <option>14</option> |
| 32 | <optgroup label="2"></optgroup> |
| 33 | <option>21</option> |
| 34 | <option>22</option> |
| 35 | <option>23</option> |
| 36 | <option>24</option> |
| 37 | </select> |
| 38 | </td> |
| 39 | <td>combobox in previos cell should handle optgroup correctly.</td> |
| 40 | </tr> |
| 41 | <tr> |
| 42 | <td> |
| 43 | <select> |
| 44 | <optgroup label="1"></optgroup> |
| 45 | <option>11</option> |
| 46 | <option>12</option> |
| 47 | <option>13</option> |
| 48 | <option>14</option> |
| 49 | <optgroup label="2"></optgroup> |
| 50 | <option>21</option> |
| 51 | <option>22</option> |
| 52 | <option>23</option> |
| 53 | <option>24</option> |
| 54 | </select> |
| 55 | </td> |
| 56 | <td>combobox in previos cell should handle optgroup correctly.</td> |
| 57 | </tr> |
| 58 | <tr> |
| 59 | <td><input type="reset"</td> |
| 60 | <td>after pressing this button all the combo boxes should go back to the state discribed above.</td> |
| 61 | </tr> |
| 62 | </table> |
| 63 | </form> |
| 64 | </body> |
| 65 | </html> |
| 66 | |