Opened 6 years ago
Closed 4 years ago
#15038 closed enhancement (fixed)
Add KeyboardEvent.key and KeyboardEvent.code (DOM2?)
Reported by: | sneaky | Owned by: | pulkomandy |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | Applications/WebPositive | Version: | R1/Development |
Keywords: | webkit | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
Some w3c docs:
https://www.w3.org/TR/uievents/#keydown
https://www.w3.org/TR/uievents/#interface-keyboardevent
Nice www demo/test:
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code
Why:
Mostly for games. Some of the phaser.io demos didn't work.
I can give other examples in telegram.
Attachments (1)
Change History (6)
by , 6 years ago
comment:1 by , 6 years ago
nope, dom3 attributes... just referring to title... here's a list for codes https://www.w3.org/TR/2014/WD-DOM-Level-3-Events-code-20140612/#keyboard-key-codes
... This is what I was looking for before...
comment:2 by , 6 years ago
It would be great if you could submit this as a pull request to github.com/haiku/webkit so that you get proper credit for the work. Otherwise I'll jsut apply the patch, which looks ok at a first glance.
comment:3 by , 6 years ago
Summary: | Add KevboardEvent.key and KeyboardEvent.code (DOM2?) → Add KeyboardEvent.key and KeyboardEvent.code (DOM2?) |
---|
comment:4 by , 6 years ago
Patch has been merged on WebKit side and will be included in the next haikuwebkit release.
comment:5 by , 4 years ago
Milestone: | Unscheduled → R1/beta2 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Took some time but it is released now.
stab at fix