Bug 4340 - Safari not supporting disabled in multi select option tag
Summary: Safari not supporting disabled in multi select option tag
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
: 8979 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-08 17:39 PDT by Will McCullough
Modified: 2006-05-18 13:08 PDT (History)
1 user (show)

See Also:


Attachments
Handle disabled option elements (11.79 KB, patch)
2005-12-01 11:03 PST, Anders Carlsson
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Will McCullough 2005-08-08 17:39:25 PDT
As per
http://www.w3.org/TR/html4/interact/forms.html#adef-disabled

if you use "disabled" in a multi select nothing happens.

// example

<form name="form">
<select multiple="multiple">
<option value="1">my value 1</option>
<option value="2" disabled>you should not be able to select this</option>
<option value="3">my value 3</option>
</select>
</form>
Comment 1 Alexey Proskuryakov 2005-10-23 09:28:26 PDT
Confirmed with 2.0.1 and ToT.
Comment 2 Anders Carlsson 2005-12-01 11:03:40 PST
Created attachment 4895 [details]
Handle disabled option elements
Comment 3 Darin Adler 2005-12-03 08:41:41 PST
<rdar://problem/3266722> <option> elements marked disabled are not disabled in the menu or list for 
the <select> (4340)
Comment 4 Darin Adler 2005-12-03 08:46:28 PST
Comment on attachment 4895 [details]
Handle disabled option elements

looks good, r=me
Comment 5 Alexey Proskuryakov 2006-05-18 13:08:11 PDT
*** Bug 8979 has been marked as a duplicate of this bug. ***