<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>27990</bug_id>
          
          <creation_ts>2015-02-10 04:43:53 +0000</creation_ts>
          <short_desc>[D3E-key][D3E-code] &quot;#&quot; and &quot;*&quot; button of feature phones should be defined</short_desc>
          <delta_ts>2015-03-11 01:41:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - DOM3 Events</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>27996</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Masayuki Nakano">masayuki</reporter>
          <assigned_to name="Travis Leithead [MSFT]">travil</assigned_to>
          <cc>garykac</cc>
    
    <cc>jackalmage</cc>
    
    <cc>mike</cc>
    
    <cc>www-dom</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>117780</commentid>
    <comment_count>0</comment_count>
    <who name="Masayuki Nakano">masayuki</who>
    <bug_when>2015-02-10 04:43:53 +0000</bug_when>
    <thetext>Simple phones has &quot;#&quot; and &quot;*&quot; around &quot;0&quot; key.

D3E (or UIEvents) should define these keys.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117781</commentid>
    <comment_count>1</comment_count>
    <who name="Masayuki Nakano">masayuki</who>
    <bug_when>2015-02-10 04:51:42 +0000</bug_when>
    <thetext>I don&apos;t know if Android defines specific keycode values for them, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117782</commentid>
    <comment_count>2</comment_count>
    <who name="Masayuki Nakano">masayuki</who>
    <bug_when>2015-02-10 04:54:15 +0000</bug_when>
    <thetext>https://source.android.com/devices/input/keyboard-devices.html#legacy-unsupported-keys
http://developer.android.com/reference/android/view/KeyEvent.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117825</commentid>
    <comment_count>3</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2015-02-10 23:16:20 +0000</bug_when>
    <thetext>Should they just be the # and * characters?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117829</commentid>
    <comment_count>4</comment_count>
    <who name="Masayuki Nakano">masayuki</who>
    <bug_when>2015-02-11 00:39:36 +0000</bug_when>
    <thetext>(In reply to Tab Atkins Jr. from comment #3)
&gt; Should they just be the # and * characters?

Yeah, if they generate text in &lt;input&gt;, .key should be so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117835</commentid>
    <comment_count>5</comment_count>
    <who name="Masayuki Nakano">masayuki</who>
    <bug_when>2015-02-11 00:55:08 +0000</bug_when>
    <thetext>I guess that whether they causes inputting &quot;#&quot; or &quot;*&quot; depends on the design of the device. Some vendor may map them as printable keys, the others may map them as non-printable keys. For the latter case, these keys should have independent key names, I think.

Similarly, their .code values are difficult issue. They may be shared with normal PC&apos;s scancode. Even in this case, browser vendors need the guideline of the key. If using Digit3 and Digit8 for them because of en-US keyboard layout, they may be conflict with &quot;3&quot; and &quot;8&quot; keys on the phone.

So, for .code value, The spec should define both (1) recommended .code value if they are mapped to scancode shared with some keys on PC keyboard and (2) independent .code value if they are not mapped to scancode which is not used on PC keyboard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117840</commentid>
    <comment_count>6</comment_count>
    <who name="Gary Kacmarcik">garykac</who>
    <bug_when>2015-02-11 01:41:53 +0000</bug_when>
    <thetext>For &apos;key&apos;:
I can see this either generating &apos;#&apos; and &apos;*&apos;, or being considered unprintable. We should match whatever the current common behavior is.

For &apos;code&apos;:
NumpadAsterisk and NumpadHash seem like the best choices since these are distinct keys.


&apos;Digit3&apos; and &apos;Digit8&apos; are keys that vary based on the locale and just happen to map to &apos;3&apos; and &apos;8&apos; on US layouts. They are conpletely different keys on different layouts and have no relation to the phone pad &apos;*&apos; and &apos;#&apos; keys.  Thus, these values are not appropriate for use here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117844</commentid>
    <comment_count>7</comment_count>
    <who name="Masayuki Nakano">masayuki</who>
    <bug_when>2015-02-11 02:00:36 +0000</bug_when>
    <thetext>(In reply to Gary Kacmarcik from comment #6)
&gt; For &apos;key&apos;:
&gt; I can see this either generating &apos;#&apos; and &apos;*&apos;, or being considered
&gt; unprintable. We should match whatever the current common behavior is.

Yeah, I&apos;m asking the behavior to a vendor. However, I think that D3E key should define specific names for the keys because some vendors may make them non-printable keys.

&gt; For &apos;code&apos;:
&gt; NumpadAsterisk and NumpadHash seem like the best choices since these are
&gt; distinct keys.

Agreed.

&gt; &apos;Digit3&apos; and &apos;Digit8&apos; are keys that vary based on the locale and just happen
&gt; to map to &apos;3&apos; and &apos;8&apos; on US layouts. They are conpletely different keys on
&gt; different layouts and have no relation to the phone pad &apos;*&apos; and &apos;#&apos; keys. 
&gt; Thus, these values are not appropriate for use here.

I agree with your idea about the locale issue. However, I still think that there should be some guide lines if some vendor cannot use independent scancode for them. In such case, web browsers cannot distinguish them as Numpad* if the platform doesn&apos;t have independent virtual keycode.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117955</commentid>
    <comment_count>8</comment_count>
    <who name="Masayuki Nakano">masayuki</who>
    <bug_when>2015-02-16 10:28:01 +0000</bug_when>
    <thetext>FIY:

These keys might be defined by ITU-1.161:
http://en.wikipedia.org/wiki/Telephone_keypad
http://en.wikipedia.org/wiki/E.161</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118514</commentid>
    <comment_count>9</comment_count>
    <who name="Gary Kacmarcik">garykac</who>
    <bug_when>2015-03-11 01:41:57 +0000</bug_when>
    <thetext>USB also has them in Page 0x0B.

&apos;Star&apos; seems to be a more common name when used on a phone, so I&apos;m going with NumpadStar and NumpadHash.

Fixed in : https://dvcs.w3.org/hg/dom3events/rev/b1ba98eac6aa</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>