Contact emails
cho...@chromium.org, dtap...@chromium.org
Spec
https://w3c.github.io/uievents/#keys-keyvalues
https://w3c.github.io/uievents-key/
Summary
KeyboardEvent.key contains a standardized name of the value produced by a key. The value presented could be an appropriate character in the key values set, or the char value if the key generates a printable character.
Motivation
KeyboardEvent.key is useful when content authors need to retrieve the character value of character-producing keys and the key value of control keys, modifier keys, or other keys that do not generate characters, with respect to possible custom key-mapping.
These values can be used for monitoring input strings and modifier keys, and can be used for creating virtual keyboards or other purposes.
Link to “Intent to Implement” blink-dev discussion
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Interoperability and Compatibility Risk
Low. We have positive support from Microsoft and Mozilla, and we don't expect any compatibility problems.
OWP launch tracking bug
Entry on the feature dashboard
https://www.chromestatus.com/feature/4748790720364544--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
Low. We have positive support from Microsoft and Mozilla, and we don't expect any compatibility problems.
--
There is a manual test suite for en-US and fr-FR:
https://github.com/w3c/uievents#testing
And since this cannot be tested by layout tests I have some unit tests: Windows: US layout and FR layout, dead keys, modifier combinations (platform_key_map_win_unittest.cc) Mac: US layout, dead keys, modifier combinations (web_input_event_builders_mac_unittest.mm) Android: Default layout, dead keys, modifier combinations (web_input_event_builders_android_unittest.cc) ChromeOS: Dead keys (input_method_chromeos_unittest.cc)
I suspected so, but I took his word for it. ;)Is there a comprehensive test suite, by the way?
☆PhistucK
On Wed, Mar 30, 2016 at 7:38 PM, 'Gary Kačmarčík (Кошмарчик)' via blink-dev <blin...@chromium.org> wrote:
I think that it's more accurate to say that we are interoperable with FF and that the IE version is mostly-interoperable.The history is something like:IE implementation -> Spec -> Updated Spec -> FF implementation -> Chrome implementationMicrosoft has indicated that they will be updating their implementation in Edge to be fully interoperable, but I don't know the timeline for that.As of now, the Edge version appears to be a cut/paste of the IE version. Note that IE/Edge are also missing the 'code' attribute, which is closely related to 'key'.
On Wed, Mar 30, 2016 at 7:32 AM, Chong <cho...@chromium.org> wrote:
Sorry for the confusion. Yes it's supported since Firefox 29.0 and Internet Explorer 9.0 (as well as Edge), and the implementation is interoperable.
Also see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key
On Wednesday, March 30, 2016 at 2:42:36 AM UTC-4, PhistucK wrote:On Tue, Mar 29, 2016 at 11:33 PM, Chong <cho...@chromium.org> wrote:Low. We have positive support from Microsoft and Mozilla, and we don't expect any compatibility problems.Hm, it seems to already be implemented in Firefox and Internet Explorer (I have not tried Edge). This should be mentioned instead of "positive support", since it is a stronger sign.Can you confirm that the implementation is interoperable?☆PhistucK
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
☆PhistucK
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
☆PhistucK
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.