Bug 32403 - Chromium: select reverts back if the value is selected via keyboard when popup is visible
Summary: Chromium: select reverts back if the value is selected via keyboard when popu...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2009-12-10 18:05 PST by Victor Wang
Modified: 2009-12-11 10:04 PST (History)
4 users (show)

See Also:

Proposed patch (3.01 KB, patch)
2009-12-10 18:34 PST, Victor Wang
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Wang 2009-12-10 18:05:42 PST
Here is the step to repro it:

1. Open a webpage that has select element. For example, http://www.wikipedia.org, the language list.
2. Click the select to open the popup list.
3. Use keyboard to select a value by pressing the first letter of the value.
4. Click the select again to close the popup list, it should stay at the value from step 2.
5. Click anywhere else on the page to move the focus out of the select.

In this instance, the item reverts back to the selection from before step 2.

This happens to chromium. The issue does not apply to Safari mac version because the popup list covers the menulist. Safari windows version works fine.
Comment 1 Victor Wang 2009-12-10 18:34:23 PST
Created attachment 44657 [details]
Proposed patch
Comment 2 WebKit Review Bot 2009-12-10 18:36:47 PST
style-queue ran check-webkit-style on attachment 44657 [details] without any errors.
Comment 3 Darin Fisher (:fishd, Google) 2009-12-11 09:53:53 PST
I think we really need to make it possible to exercise popup menus from TestShell.
Comment 4 Darin Fisher (:fishd, Google) 2009-12-11 09:54:41 PST
(whoops, i should wait for the patch to land before resolving this bug.)
Comment 5 WebKit Commit Bot 2009-12-11 10:03:54 PST
Comment on attachment 44657 [details]
Proposed patch

Clearing flags on attachment: 44657

Committed r52001: <http://trac.webkit.org/changeset/52001>
Comment 6 WebKit Commit Bot 2009-12-11 10:04:04 PST
All reviewed patches have been landed.  Closing bug.