Home | History | Annotate | Download | only in ManualTests
      1 <body>
      2 <p>This tests that disabled option elements shouldn't be selectable and that no elements in disabled optgroups are selectable.</p>
      3 <form name="form">
      4 <select multiple="multiple">
      5 <option>my value 1</option>
      6 <option value="2" disabled>you should not be able to select this</option>
      7 <option>my value 3</option>
      8 <optgroup label="disabled option group" disabled>
      9      	<option>this should be disabled</option>
     10 		<option>as well as this</option>
     11 <optgroup>
     12 </select>
     13 
     14 <select>
     15 <option>my value 1</option>
     16 <option value="2" disabled>you should not be able to select this</option>
     17 <option>my value 3</option>
     18 <optgroup label="disabled option group" disabled>
     19      	<option>this should be disabled</option>
     20 		<option>as well as this</option>
     21 <optgroup>
     22 </select>
     23 </form>
     24 
     25 </body>
     26 </html>
     27