mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
6bf22075ed
This returns the form element associated with the given label element's control or null if the label has no control.
13 lines
356 B
Text
13 lines
356 B
Text
#import <HTML/HTMLElement.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/forms.html#htmllabelelement
|
|
[Exposed=Window]
|
|
interface HTMLLabelElement : HTMLElement {
|
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
readonly attribute HTMLFormElement? form;
|
|
[CEReactions, Reflect=for] attribute DOMString htmlFor;
|
|
readonly attribute HTMLElement? control;
|
|
|
|
};
|