blob: 4ff291fdccf188311df70cbea71c02655eb01e1e [file] [log] [blame]
<body>
<p>This tests that disabled option elements shouldn't be selectable and that no elements in disabled optgroups are selectable.</p>
<form name="form">
<select multiple="multiple">
<option>my value 1</option>
<option value="2" disabled>you should not be able to select this</option>
<option>my value 3</option>
<optgroup label="disabled option group" disabled>
<option>this should be disabled</option>
<option>as well as this</option>
<optgroup>
</select>
<select>
<option>my value 1</option>
<option value="2" disabled>you should not be able to select this</option>
<option>my value 3</option>
<optgroup label="disabled option group" disabled>
<option>this should be disabled</option>
<option>as well as this</option>
<optgroup>
</select>
</form>
</body>
</html>