mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 18:37:58 +03:00
b092353e4d
HTMLInputElement now inherits from FormAssociatedElement, which will be a common base for the handful of elements that need to track their owner form (and register with it for the form.elements collection.) At the moment, the owner form is assigned during DOM insertion/removal of an HTMLInputElement. I didn't implement any of the legacy behaviors defined by the HTML parsing spec yet.
32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
interface HTMLInputElement : HTMLElement {
|
|
|
|
readonly attribute HTMLFormElement? form;
|
|
|
|
[Reflect] attribute DOMString accept;
|
|
[Reflect] attribute DOMString alt;
|
|
[Reflect] attribute DOMString max;
|
|
[Reflect] attribute DOMString min;
|
|
[Reflect] attribute DOMString pattern;
|
|
[Reflect] attribute DOMString placeholder;
|
|
[Reflect] attribute DOMString src;
|
|
[Reflect] attribute DOMString step;
|
|
[Reflect=dirname] attribute DOMString dirName;
|
|
[Reflect=value] attribute DOMString defaultValue;
|
|
|
|
[LegacyNullToEmptyString] attribute DOMString value;
|
|
|
|
attribute boolean checked;
|
|
|
|
[Reflect] attribute boolean disabled;
|
|
[Reflect=checked] attribute boolean defaultChecked;
|
|
[Reflect=formnovalidate] attribute boolean formNoValidate;
|
|
[Reflect=formtarget] attribute DOMString formTarget;
|
|
[Reflect] attribute boolean multiple;
|
|
[Reflect=readonly] attribute boolean readOnly;
|
|
[Reflect] attribute boolean required;
|
|
|
|
[Reflect] attribute DOMString align;
|
|
[Reflect=usemap] attribute DOMString useMap;
|
|
|
|
};
|