Files
ladybird/Tests/LibWeb/Crash/HTML/label-inline-display.html
Tim Ledbetter e04446802f LibWeb: Implement label activation behavior in the DOM layer
Previously, click handling for labels was handled in layout and
painting code. This change implements activation_behavior on
HTMLLabelElement, which clicks and focuses the element.
2026-01-27 18:35:38 +01:00

7 lines
132 B
HTML

<!DOCTYPE html>
<style>
label { display: inline; }
label div { display: inline-block; }
</style>
<label><div>Test</div></label>