1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00
serenity/Userland/Libraries/LibWeb/Internals
Timothy Flynn 7edfeb7056 LibWeb: Support committing changes to <input> elements
We currently fire the change event on <input> elements when they lose
focus. The spec allows for us to also fire the event when changes are
"committed", so long as such an action makes sense for the input type.

This patch detects when the return key is entered in an <input> element
and uses that as the commit action for text-related types. If no change
has occurred since the last commit, no change event is fired.
2023-12-02 10:34:22 +01:00
..
Inspector.cpp LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
Inspector.h LibWeb+LibWebView+WebContent: Add an Inspector IDL object to the Window 2023-11-24 08:37:19 +01:00
Inspector.idl LibWeb+LibWebView+WebContent: Add an Inspector IDL object to the Window 2023-11-24 08:37:19 +01:00
Internals.cpp LibWeb: Support committing changes to <input> elements 2023-12-02 10:34:22 +01:00
Internals.h LibWeb: Support committing changes to <input> elements 2023-12-02 10:34:22 +01:00
Internals.idl LibWeb: Support committing changes to <input> elements 2023-12-02 10:34:22 +01:00