<?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>7110</bug_id>
          
          <creation_ts>2006-02-06 12:53:43 -0800</creation_ts>
          <short_desc>If multiple input elements have the same access key on a page the last is selected instead of the first.</short_desc>
          <delta_ts>2007-02-26 10:34:55 -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>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Troy Brandt">troyb</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>31617</commentid>
    <comment_count>0</comment_count>
    <who name="Troy Brandt">troyb</who>
    <bug_when>2006-02-06 12:53:43 -0800</bug_when>
    <thetext>This is a change of behavior from the current release which selects the first input element on the page. 

Using WebKit-SVN-r12596 with the example below. the second element is selected when hitting control-s. the expected behavior is to have the first selected (which is what i see in the installed 10.4.4 WebKit).

&lt;body&gt;

&lt;form action=&quot;accesskey.html&quot;&gt;
hit control-s
&lt;input accesskey=&quot;s&quot; type=&quot;submit&quot; value=&quot;1&quot; /&gt;
&lt;input accesskey=&quot;s&quot; type=&quot;submit&quot; value=&quot;2&quot; /&gt;

&lt;/form&gt;

&lt;/body&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31618</commentid>
    <comment_count>1</comment_count>
      <attachid>6300</attachid>
    <who name="Troy Brandt">troyb</who>
    <bug_when>2006-02-06 12:56:11 -0800</bug_when>
    <thetext>Created attachment 6300
here&apos;s an html document which displays the problem</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31860</commentid>
    <comment_count>2</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-02-08 12:06:01 -0800</bug_when>
    <thetext>I think our current behavior is better than our previous, since this matches firefox, closing as wontfix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21355</commentid>
    <comment_count>3</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-02-26 10:34:37 -0800</bug_when>
    <thetext>&lt;http://trac.webkit.org/projects/webkit/changeset/12114&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21357</commentid>
    <comment_count>4</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-02-26 10:34:55 -0800</bug_when>
    <thetext>*** Bug 12898 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>6300</attachid>
            <date>2006-02-06 12:56:11 -0800</date>
            <delta_ts>2006-02-06 12:56:11 -0800</delta_ts>
            <desc>here&apos;s an html document which displays the problem</desc>
            <filename>accesskey-5.html</filename>
            <type>text/html</type>
            <size>227</size>
            <attacher name="Troy Brandt">troyb</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8dGl0bGU+RW1wdHkgRG9jdW1lbnQ8L3RpdGxlPgo8L2hlYWQ+Cjxib2R5
PgoKPGZvcm0gYWN0aW9uPSJhY2Nlc3NrZXkuaHRtbCI+CmhpdCBjb250cm9sLXMKPGlucHV0IGFj
Y2Vzc2tleT0icyIgdHlwZT0ic3VibWl0IiB2YWx1ZT0iMSIgLz4KPGlucHV0IGFjY2Vzc2tleT0i
cyIgdHlwZT0ic3VibWl0IiB2YWx1ZT0iMiIgLz4KCjwvZm9ybT4KCjwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>