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

[Bug 21113] New: Should KeyboardEvent.char really be set control characters? E.g., Cancel, Esc, Backspace and Del

From: <bugzilla@jessica.w3.org>
Date: Tue, 26 Feb 2013 06:37:32 +0000
To: www-dom@w3.org
Message-ID: <bug-21113-4009@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21113

            Bug ID: 21113
           Summary: Should KeyboardEvent.char really be set control
                    characters? E.g., Cancel, Esc, Backspace and Del
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM3 Events
          Assignee: schepers@w3.org
          Reporter: masayuki@d-toybox.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

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:
'Cancel'            '\u0018'
'Esc'               '\u001B'
'Backspace'         '\u0008'
'Del'               '\u007F'

If web application developers want to make their own text editor, they don'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'd like to suggest that these keys' char value should be empty string.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 26 February 2013 06:37:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 26 February 2013 06:37:37 GMT