W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2011

Re: [DOM3 Events] "Super" and "Hyper" keys on Linux

From: Masayuki Nakano <masayuki@d-toybox.com>
Date: Thu, 03 Feb 2011 13:11:44 +0900
Message-ID: <4D4A2B00.2050101@d-toybox.com>
To: Joćo Eiras <joao.eiras@gmail.com>
CC: "www-dom@w3.org" <www-dom@w3.org>
On 2011/02/03 12:12, Joćo Eiras wrote:
>
>> But both KeyboardEvent.metaKey of Firefox and Google chrome return false
>> for Windows key on Linux and Windows.
>>
>> If Windows key should be metaKey, should DOM key event for both Meta key
>> and Super key return true by metaKey property? And if so, we should use
>> same key value for both meta key and super key? I don't think it makes
>> sense...
>>
>
> metaKey boolean is a state for when the key acts as modifier, say meta+A.
>

Do you mean that the metaKey property should return true when one or 
more Meta key or Super key or Hyper key or Cmd key or Windows key is 
pressed (i.e., any modifier keys except Shift, Alt (Option) and Ctrl)?

-- 
Masayuki Nakano <masayuki@d-toybox.com>
Manager, Internationalization, Mozilla Japan.
Received on Thursday, 3 February 2011 04:12:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:07 GMT