[webkit-reviews] review requested: [Bug 22679] [GTK] Function Keys (F1 to F12) are not mapped : [Attachment 25769] Patch for F1-F12 key mappings for WebKit GTK port
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 5 02:56:36 PST 2008
Srinivas Rao M Hamse <msrinirao at gmail.com> has asked for review:
Bug 22679: [GTK] Function Keys (F1 to F12) are not mapped
https://bugs.webkit.org/show_bug.cgi?id=22679
Attachment 25769: Patch for F1-F12 key mappings for WebKit GTK port
https://bugs.webkit.org/attachment.cgi?id=25769&action=review
------- Additional Comments from Srinivas Rao M Hamse <msrinirao at gmail.com>
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>
More information about the webkit-reviews
mailing list