Bug 4340

Summary: Safari not supporting disabled in multi select option tag
Product: WebKit Reporter: Will McCullough <will.mccullough>
Component: FormsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: james.sumners
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Handle disabled option elements darin: review+

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