[Webkit-unassigned] [Bug 139430] New: Incorrect event.keyIdentifier value for control keys on Linux

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 8 23:31:30 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=139430

            Bug ID: 139430
           Summary: Incorrect event.keyIdentifier value for control keys
                    on Linux
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Maxim.Baz at z0rch.com

Use the following html to reproduce:

<html>
<body onkeydown="alert('event.keyIdentifier = ' + event.keyIdentifier);">
</body>
</html>

Press a control key, for example "Shift".

On Windows (Webkit 537.36), event.keyIdentifier == "Shift".
On Linux (Webkit 537.36), event.keyIdentifier == "U+00A0" (for LShift) or "U+00A1" (for RShift).
On Linux (Webkit nightly 601.1), event.keyIdentifier == "U+0000" for both LShift and RShift.

According to the document below, I believe key identifiers must be textual, i.e. "Shift" in the example above.
So Webkit on Windows behaves properly, but it should be fixed for the Linux platform.

http://www.w3.org/TR/2006/WD-DOM-Level-3-Events-20060413/keyset.html#KeySet-Set-h2

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141209/b2255589/attachment-0002.html>


More information about the webkit-unassigned mailing list