Open Bug 1096628 Opened 11 years ago Updated 3 years ago

keydown on select doesn't select <option> which is dynamically generated onkeydown

Categories

(Core :: DOM: Events, defect, P5)

32 Branch
x86_64
Windows 7
defect

Tracking

()

People

(Reporter: cmcnulty, Unassigned)

References

()

Details

(Keywords: regression, testcase)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0 Build ID: 20140923175406 Steps to reproduce: In a select with no options, we populate the options on keydown of that select. If the key pressed matches the first character of one of the populated options, that option should be selected. This is the case in IE8+, Chrome, etc. http://jsfiddle.net/cmcnulty/ug1oudz5/ Actual results: The options are loaded, but the "search" code is not run, and the first option remains selected. Expected results: It should have selected the option if it matches the key selected.
Component: Untriaged → DOM: Events
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Summary: keydown on select doesn't search options → keydown on select doesn't select <option> which is dynamically generated onkeydown
Last good revision: e3c84e9f2490 (2013-10-02) First bad revision: 0e26e6f12ad9 (2013-10-03) Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=e3c84e9f2490&tochange=0e26e6f12ad9 I suspect bug 913920
Blocks: 913920
Flags: needinfo?(Ms2ger)
Keywords: regression
If you could double-check with local builds, that'd be much appreciated.
Flags: needinfo?(Ms2ger) → needinfo?(bugzilla)
sorry but my local build fails with build errors in NSS probably because I recently updated my toolset to MSVC13 :-(
Flags: needinfo?(bugzilla)
Flags: needinfo?(Ms2ger)
Flags: needinfo?(Ms2ger)
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.