New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For user-agents on Windows OS, map the "windows key" to Meta (instead of "OS") #9
Comments
I emailed to Olli (smaug) about this issue. |
I doubt "OS" has gained much use yet. This is of course backwards incompatible change. |
Yes. Currently in IE9+ the .meta value is never true. :( I like the side-effect of making it work in Windows since it was a previously unused feature. On backwards compatibility, yes, it is a breaking (not backwards-compatible) change. However, there is little current suspected use, and since IE9+ this has been the "Win" key name, so changing it to OS would be a breaking change for Edge too. I'd just assume go straight to "Meta". |
I did an httpArchive search (top 500k sites) and found exactly 0 uses of |
@travisleithead did you end up copying Chrome/Firefox here in Edge? Looks like it sets 'OS' now. We've removed this from Chrome to match the spec, and @dtapuska is now cleaning up the remaining code. |
For KeyboardEvent.key values on Windows OS, use "Meta" (instead of "OS"). This is for 1) better interop with Mac, 2) enabling general use of the
meta
attribute on KeyboardEvent.See discussion at: w3c/uievents#28 (comment)
The text was updated successfully, but these errors were encountered: