Bug 4341 - No onclick event generated for option in multiple select
Summary: No onclick event generated for option in multiple select
Status: RESOLVED DUPLICATE of bug 3248
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2005-08-08 17:45 PDT by Will McCullough
Modified: 2007-01-06 15:06 PST (History)
1 user (show)

See Also:


Attachments
testcase (87 bytes, text/html)
2005-12-29 07:06 PST, Joost de Valk (AlthA)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Will McCullough 2005-08-08 17:45:59 PDT
does not support the "onclick" for options in the multi select list:

http://www.w3.org/TR/html4/interact/scripts.html#adef-onclick

//  Example of failing form:

<form name="form">
<select multiple="multiple">
<option value="1">1</option>
<option value="2" disabled onclick="javascript:alert('You cannot select this option');">2</option>
<option value="3">3</option>
</select>
</form>
Comment 1 Joost de Valk (AlthA) 2005-12-29 07:05:55 PST
No onclick event is generated at all when clicked on an option in a multiple select box. Minimal testcase 
coming up. Reassigning to webkit-unassigned.
Comment 2 Joost de Valk (AlthA) 2005-12-29 07:06:40 PST
Created attachment 5352 [details]
testcase
Comment 3 Alexey Proskuryakov 2007-01-06 15:06:05 PST

*** This bug has been marked as a duplicate of 3248 ***