ladybird/Libraries
Aliaksandr Kalenik 226259dd7c LibWeb: Dispatch "click" event on input control associated with <label>
For example, in the following HTML:
```html
<label>
    <input type="radio" name="fruit" value="apple" id="radio1">
    <span class="box"></span>
</label>
```

When any descendant of a <label> element is clicked, a "click" event
must be dispatched on the <input> element nested within the <label>, in
addition to the "click" event dispatched on the clicked descendant.

Previously, this behavior was implemented only for text node descendants
by "overriding" the mouse event target using `mouse_event_target()` in
the TextPaintable. This approach was incorrect because it was limited to
text nodes, whereas the behavior should apply to any box. Moreover, the
"click" event for the input control must be dispatched *in addition* to
the event on the clicked element, rather than redirecting it.
2024-11-20 21:31:13 +01:00
..
LibArchive Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibCompress LibCompress: Clean up #include directives 2024-11-20 15:17:31 +01:00
LibCore LibCore: Fix bug in CreateFileMapping call 2024-11-19 22:07:01 -07:00
LibCrypto Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibDiff Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibFileSystem LibFileSystem: Clean up #include directives 2024-11-20 15:17:53 +01:00
LibGC LibGC: Add Swift bindings to the GC heap 2024-11-19 14:32:11 -07:00
LibGfx LibGfx: Clean up #include directives 2024-11-20 21:13:23 +01:00
LibHTTP Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibIDL LibIDL: Fix use-after-free in GenerateWindowOrWorkerInterfaces 2024-11-16 10:30:14 +01:00
LibImageDecoderClient Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibIPC Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibJS LibJS: Parse dates like "Wed Nov 20 2024" 2024-11-20 09:20:48 +00:00
LibLine Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibMain Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibMedia Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibRegex LibRegex: Avoid generating ForkJumps when jumping to the next alt block 2024-11-17 20:12:39 +01:00
LibRequests Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibRIFF Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibSyntax Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibTest LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
LibTextCodec Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibThreading Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibTLS Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibUnicode Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibURL Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibWasm LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
LibWeb LibWeb: Dispatch "click" event on input control associated with <label> 2024-11-20 21:31:13 +01:00
LibWebSocket Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LibWebView LibGfx: Clean up #include directives 2024-11-20 21:13:23 +01:00
LibXML LibWeb: Set doctype node immediately while parsing XML document 2024-11-20 16:10:57 +01:00