mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-08 18:11:52 +00:00
This reworks EventHandler so text insertion, backspace, delete and return actions are now handled by the Editing API. This was the whole point of the execCommand spec, to provide an implementation of both editing commands and the expected editing behavior on user input. Responsibility of firing the `input` event is moved from EventHandler to the Editing API, which also gets rid of duplicate events whenever dealing with `<input>` or `<textarea>` events. The `beforeinput` event still needs to be fired by `EventHandler` however, since that is never fired by `execCommand()`. |
||
---|---|---|
.. | ||
DragAndDropEventHandler.cpp | ||
DragAndDropEventHandler.h | ||
EventHandler.cpp | ||
EventHandler.h | ||
EventResult.h | ||
InputEvent.cpp | ||
InputEvent.h | ||
Page.cpp | ||
Page.h |