summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/disabled-option-elements.html
blob: 4ff291fdccf188311df70cbea71c02655eb01e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<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>