Bug 56170 - Select list/combo box selection not changed if the option clicked was highlighted beforehand by typing its first letter.
Summary: Select list/combo box selection not changed if the option clicked was highlig...
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, PlatformOnly
Depends on:
Blocks:
 
Reported: 2011-03-10 20:36 PST by Cngevpxhaqrefpber
Modified: 2011-04-08 18:26 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cngevpxhaqrefpber 2011-03-10 20:36:49 PST
If you:

1. Visit a site with a select list / combo box, such as http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_option

2. Click the arrow next to the box to display the dropdown.

3. Type for example 's', causing the highlighted option in the dropdown list to be "Saab".

4. Click the "Saab" option from the dropdown.

Then the combo box's selection is not changed to "Saab" as you would expect, and remains at whatever was selected by default when you first loaded the page (in the site above, Volvo). You can move the mouse to highlight another option before clicking "Saab" and the results will be the same. However, clicking any other option in the list that was not highlighted by the key press -- Mercedes, Audi, etc. -- will cause the selection to change as is expected.

You can replace 's' and "Saab" above with 'm' and "Mercedes" or 'a' and "Audi" and the result will be the same.

Broken for me in Chrome 10 and Safari 5.0.4; works properly in Firefox 4, Opera 11, and IE9.
Comment 1 Alexey Proskuryakov 2011-03-11 12:05:02 PST
I cannot reproduce this on Mac, so could be Windows only.
Comment 2 Adam Roben (:aroben) 2011-03-11 13:03:57 PST
I can reproduce in Safari 5.0.4 on Windows.
Comment 3 Cngevpxhaqrefpber 2011-03-12 17:40:45 PST
I tested it on Chrome under OSX 10.6, and wasn't able to reproduce.
Comment 4 Jessie Berlin 2011-03-15 15:12:13 PDT
<rdar://problem/9138227>
Comment 5 Jon Lee 2011-04-08 18:26:40 PDT
This was most likely a side effect of the bug filed at https://bugs.webkit.org/show_bug.cgi?id=53023 which should be fixed.