<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>4341</bug_id>
          
          <creation_ts>2005-08-08 17:45:59 -0700</creation_ts>
          <short_desc>No onclick event generated for option in multiple select</short_desc>
          <delta_ts>2007-01-06 15:06:05 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>3248</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Will McCullough">will.mccullough</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ian</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16230</commentid>
    <comment_count>0</comment_count>
    <who name="Will McCullough">will.mccullough</who>
    <bug_when>2005-08-08 17:45:59 -0700</bug_when>
    <thetext>does not support the &quot;onclick&quot; for options in the multi select list:

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

//  Example of failing form:

&lt;form name=&quot;form&quot;&gt;
&lt;select multiple=&quot;multiple&quot;&gt;
&lt;option value=&quot;1&quot;&gt;1&lt;/option&gt;
&lt;option value=&quot;2&quot; disabled onclick=&quot;javascript:alert(&apos;You cannot select this option&apos;);&quot;&gt;2&lt;/option&gt;
&lt;option value=&quot;3&quot;&gt;3&lt;/option&gt;
&lt;/select&gt;
&lt;/form&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27133</commentid>
    <comment_count>1</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2005-12-29 07:05:55 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27134</commentid>
    <comment_count>2</comment_count>
      <attachid>5352</attachid>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2005-12-29 07:06:40 -0800</bug_when>
    <thetext>Created attachment 5352
testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36663</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-01-06 15:06:05 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 3248 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>5352</attachid>
            <date>2005-12-29 07:06:40 -0800</date>
            <delta_ts>2005-12-29 07:06:40 -0800</delta_ts>
            <desc>testcase</desc>
            <filename>4317-onclick-event-multiple-select.html</filename>
            <type>text/html</type>
            <size>87</size>
            <attacher name="Joost de Valk (AlthA)">joost</attacher>
            
              <data encoding="base64">PHNlbGVjdCBtdWx0aXBsZT48b3B0aW9uIHZhbHVlPSIyIiBvbmNsaWNrPSJ0aGlzLnRleHQ9J2l0
IHdvcmtlZCciPjI8L29wdGlvbj48L3NlbGVjdD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>