1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 07:54:58 +00:00

LibWeb: Fire a change event on input elements in the focus update steps

This ensures the change event is received before the blur event.
This commit is contained in:
Timothy Flynn 2023-12-03 08:24:16 -05:00 committed by Andreas Kling
parent 301d58e2d9
commit 08ee48606d
5 changed files with 82 additions and 7 deletions

View file

@ -158,6 +158,9 @@ public:
virtual bool has_activation_behavior() const override;
virtual void activation_behavior(DOM::Event const&) override;
bool has_input_activation_behavior() const;
bool change_event_applies() const;
private:
HTMLInputElement(DOM::Document&, DOM::QualifiedName);