[Webkit-unassigned] [Bug 22679] [GTK] Function Keys (F1 to F12) are not mapped
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 5 02:56:36 PST 2008
https://bugs.webkit.org/show_bug.cgi?id=22679
msrinirao at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25769| |review?
Flag| |
------- Comment #1 from msrinirao at gmail.com 2008-12-05 02:56 PDT -------
Created an attachment (id=25769)
--> (https://bugs.webkit.org/attachment.cgi?id=25769&action=view)
Patch for F1-F12 key mappings for WebKit GTK port
The code segment i used for testing is:
<body onkeydown="callme(event)">
</body>
<script>
function callme(e) {
if (e.which == null)
char = String.fromCharCode(e.keyCode); // IE
else if (e.which > 0)
char = String.fromCharCode(e.which); // All others
else
char = x
// special key
alert(e.keyCode + " : " + e.charCode + " --> " + e.which);
// alert(" --> " + char);
}
</script>
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list