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.
6 lines
132 B
HTML
6 lines
132 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
label { display: inline; }
|
|
label div { display: inline-block; }
|
|
</style>
|
|
<label><div>Test</div></label>
|