[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

[email protected]
Newsgroups gmane.comp.web.dom.general
Message-ID <[email protected]/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25338

Gary Kacmarcik <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WONTFIX

--- Comment #2 from Gary Kacmarcik <[email protected]> ---
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.