[Bug 25338] D3E spec should recommend that KeyboardEvent.code of some keys whose label are different from PC's keyboard should be mapped from the key labels on Mac keyboard

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25338

Gary Kacmarcik <garykac@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |garykac@google.com
         Resolution|---                         |WONTFIX

--- Comment #2 from Gary Kacmarcik <garykac@google.com> ---
This is already working as intended.

There are different USB codes for
   F13-F24 = 68/69/6a
and
   PrintScreen/ScrollLock/Pause = 46/47/48

So they are different keys.

Apparently, the OS (or KVM switch) will map these keys to F13-15 on a Mac, but
as far as the spec is concerned, we don't care.  If these keys are reported to
the browser as PrintScreen/et al., then they should be encoded as
PrintScreen,...  If they come through as F13... then that's how they should be
encoded.

In this case, Mac users will see F13,... because the OS (or some other lower
component) is translating the PrintScreen into F13.

So this is way beyond the scope of what we need to worry about for this spec.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 15 April 2014 21:15:51 UTC