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
commit 08ee48606d
Notes: sideshowbarker 2024-07-16 22:22:13 +09:00
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);