Comment #15 on issue 4576 by tvamsikalyan: Home/End and PageUp/PageDn  
buttons do not do anything in drop down lists
http://code.google.com/p/chromium/issues/detail?id=4576

I noticed that Up and Down arrow keys were working fine, but not PageUp and  
PageDown
keys. Debugging it took the control to following method.

'void SelectElement::menuListDefaultEventHandler(SelectElementData& data,  
Element*
element, Event* event, HTMLFormElement* htmlForm)'

In this method, only (keyIdentifier == "Down" || keyIdentifier == "Right")  
and (keyIdentifier == "Up" || keyIdentifier == "Left") cases are handled.  
Adding (keyIdentifier == "PageUp"), (keyIdentifier == "PageDown"),  
(keyIdentifier == "End")
and (keyIdentifier == "Home") cases fixed the issue.

I was not sure what to use as pageSize when writing PageDown and PageUp  
handler, I
used constant 5 to test.

This file is in  
chromium\src\third_party\WebKit\WebCore\dom\SelectElement.cpp, can I
work on this issue to provide fix into this file?


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to