WebCore/manual-tests/disabled-option-elements.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 09:02:29 +0300
changeset 0 4f2f89ce4247
permissions -rw-r--r--
Revision: 201037

<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>