KeyboardEvent.key gives "Spacebar" instead of " "

Fixed Issue #216083

Details

Created
May 15, 2014
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

Relevant spec is: https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3Events-key.html#keys-whitespace

URL:

Repro Steps:

http://jsfiddle.net/NAv8Y/

  1. Add a keydown event listener
  2. Press the space bar.
  3. See the key property.

Expected Results:

KeyboardEvent.key should give " " when the user pressed the space bar.

Actual Results:

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Eugene V.”

      Changed Steps to Reproduce

      Changed Status to “Confirmed”

      Changed Assigned To from “Eugene V.” to “Sanket J.”

      Changed Status from “Confirmed” to “In code review”

      Changed Assigned To from “Sanket J.” to “IE F.”

      Changed Status from “In code review” to “Fixed”

    You need to sign in to your Microsoft account to add a comment.

    Sign in