LibWeb: Don't double-dispatch click events on a label's child input

If the user clicked directly on the input inside a label, then it
already received a click event. Dispatching a second one via the label
is redundant, and means that if the input is a checkbox, it gets its
value toggled twice.
This commit is contained in:
Sam Atkins 2025-04-15 12:01:07 +01:00 committed by Tim Ledbetter
commit c00c0846c0
Notes: github-actions[bot] 2025-04-15 11:35:28 +00:00
3 changed files with 54 additions and 1 deletions

View file

@ -0,0 +1,2 @@
click event on input#radio1
click event on input#radio2