LadybirdBrowser / ladybird

Truly independent web browser
https://ladybird.org
BSD 2-Clause "Simplified" License
19.99k stars 827 forks source link

LibWeb: Fire input event on user interaction with input element buttons #265

Closed tcl3 closed 3 months ago

tcl3 commented 3 months ago

An input event is now fired when the step up or step down button of an input element of type number is clicked.

This ensures that any associated <output> element is updated when these buttons are clicked.

Demo:

https://github.com/SerenityOS/serenity/assets/2817754/86b44f2a-1a26-411f-947f-d03a4d9f62b4

This is the same change as: https://github.com/SerenityOS/serenity/pull/24347