- From: <bugzilla@jessica.w3.org>
- Date: Mon, 14 Apr 2014 09:19:42 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25338
Bug ID: 25338
Summary: D3E spec should recommend KeyboardEvent.code mapping
of some keys whose label are different from PC's
keyboard
Product: WebAppsWG
Version: unspecified
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: DOM3 Events
Assignee: garykac@gmail.com
Reporter: masayuki@d-toybox.com
QA Contact: public-webapps-bugzilla@w3.org
CC: mike@w3.org, www-dom@w3.org
On Mac, when PC keyboard is corrected, following keys have different label.
Mac PC
F13 PrintScreen
F14 ScrollLock
F15 Pause
Help Insert *1
Clear NumLock
*1 not present on modern Mac keyboard, but there was the key on legacy Mac
keyboard, and Sun keyboard's Help key maps kVK_Help
I think that we can ignore "backspace" vs. "delete" because Mac's keyboard also
has "delete" key on function block with forward delete key's symbol. I.e., the
delete key above return key works really as "Backspace" key.
So, the problem is, if D3E spec undefined whether browsers should map code
value from PC's key name or Mac's key name, there will be compatibility problem
between browsers.
I believe that browsers on Mac should prefer Mac's keyboard label. The reason
is, these keys mentioned above are not work as PC. So, for browser users, they
are different keys from PC. Additionally, ordinal Mac users must use Mac's
keyboard rather than PC's keyboard.
Therefore, I believe that D3E spec should note this, and browsers should map
the keys as:
Mac Preferred .code value
F13 F13
F14 F14
F15 F15
Help Help
Clear Clear
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 14 April 2014 09:19:43 UTC