diff options
Diffstat (limited to 'Source/WebCore/manual-tests/disabled-option-elements.html')
-rw-r--r-- | Source/WebCore/manual-tests/disabled-option-elements.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Source/WebCore/manual-tests/disabled-option-elements.html b/Source/WebCore/manual-tests/disabled-option-elements.html new file mode 100644 index 0000000..4ff291f --- /dev/null +++ b/Source/WebCore/manual-tests/disabled-option-elements.html @@ -0,0 +1,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> |