<?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>21113</bug_id>
          
          <creation_ts>2013-02-26 06:37:32 +0000</creation_ts>
          <short_desc>Should KeyboardEvent.char really be set control characters? E.g., Cancel, Esc, Backspace and Del</short_desc>
          <delta_ts>2013-08-17 22:21:08 +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>PC</rep_platform>
          <op_sys>Windows NT</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>
          <dependson>22071</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Masayuki Nakano">masayuki</reporter>
          <assigned_to name="Travis Leithead [MSFT]">travil</assigned_to>
          <cc>garykac</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>83701</commentid>
    <comment_count>0</comment_count>
    <who name="Masayuki Nakano">masayuki</who>
    <bug_when>2013-02-26 06:37:32 +0000</bug_when>
    <thetext>The key name list defines as following:
http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#key-values-list

key:                char:
&apos;Cancel&apos;            &apos;\u0018&apos;
&apos;Esc&apos;               &apos;\u001B&apos;
&apos;Backspace&apos;         &apos;\u0008&apos;
&apos;Del&apos;               &apos;\u007F&apos;

If web application developers want to make their own text editor, they don&apos;t need these control characters (i.e., they discards them with some code). And I have no idea that these values are useful for web application developers.

So, I&apos;d like to suggest that these keys&apos; char value should be empty string.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86807</commentid>
    <comment_count>1</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2013-04-25 19:18:47 +0000</bug_when>
    <thetext>Gary will check what the current implementations do here...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86975</commentid>
    <comment_count>2</comment_count>
    <who name="Masayuki Nakano">masayuki</who>
    <bug_when>2013-04-29 23:42:39 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Gary will check what the current implementations do here...

At least IE9 generated them.
https://developer.mozilla.org/en-US/docs/DOM/KeyboardEvent#keyname_table_win</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89533</commentid>
    <comment_count>3</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2013-06-19 00:45:29 +0000</bug_when>
    <thetext>This bug is conditional on whether we keep char in the depends on bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92228</commentid>
    <comment_count>4</comment_count>
    <who name="Gary Kacmarcik">garykac</who>
    <bug_when>2013-08-17 22:21:08 +0000</bug_when>
    <thetext>#22071 has been fixed in the latest ED.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>