Psychpsyo
|
b3487d8994
|
Meta: Add DOCTYPEs to most text tests
|
2025-03-20 11:50:49 +01:00 |
|
sideshowbarker
|
738cb24691
|
LibWeb: Fire keypress event for Enter, Shift+Enter, and Ctrl+Enter keys
For web compat and interop with other engines, this change makes us fire
“keypress” events for the Enter key and for the combination of the Enter
key with the Shift or Ctrl keys — despite the fact the UI Events spec
states at https://w3c.github.io/uievents/#event-type-keypress it must be
fired “if and only if that key normally produces a character value”.
See https://github.com/w3c/uievents/issues/183#issuecomment-448091687
and https://github.com/w3c/uievents/issues/266#issuecomment-1887917756.
|
2025-01-31 12:07:17 +00:00 |
|
Timothy Flynn
|
c96c5e45ff
|
LibWeb: Implement KeyboardEvent.charCode according to spec
It should be 0 for keydown/keyup events.
|
2024-10-22 12:48:58 +02:00 |
|
Timothy Flynn
|
448754d95d
|
LibWeb: Only fire keypress events if the key press produced a character
For example, pressing just the shift key should not producde a keypress
event.
|
2024-10-09 19:10:02 +02:00 |
|