mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
LibWeb: Reorder and add missing form elements IDL items
This commit is contained in:
parent
4dab17427f
commit
3e778fe29c
13 changed files with 159 additions and 50 deletions
|
@ -5,49 +5,69 @@
|
|||
// https://html.spec.whatwg.org/multipage/input.html#htmlinputelement
|
||||
[Exposed=Window]
|
||||
interface HTMLInputElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
||||
readonly attribute HTMLFormElement? form;
|
||||
attribute FileList? files;
|
||||
|
||||
[CEReactions, Reflect] attribute DOMString accept;
|
||||
[CEReactions, Reflect] attribute DOMString alt;
|
||||
[CEReactions, Reflect] attribute DOMString max;
|
||||
[CEReactions, Reflect] attribute DOMString min;
|
||||
[CEReactions, Reflect] attribute DOMString pattern;
|
||||
[CEReactions, Reflect] attribute DOMString placeholder;
|
||||
[CEReactions, Reflect] attribute DOMString src;
|
||||
[CEReactions, Reflect] attribute DOMString step;
|
||||
[CEReactions, Reflect] attribute DOMString name;
|
||||
[CEReactions, Reflect=dirname] attribute DOMString dirName;
|
||||
[CEReactions, Reflect=value] attribute DOMString defaultValue;
|
||||
|
||||
[CEReactions] attribute DOMString type;
|
||||
attribute boolean indeterminate;
|
||||
|
||||
[CEReactions, LegacyNullToEmptyString] attribute DOMString value;
|
||||
|
||||
[ImplementedAs=checked_binding] attribute boolean checked;
|
||||
|
||||
[CEReactions, Reflect] attribute boolean disabled;
|
||||
// FIXME: [CEReactions] attribute DOMString autocomplete;
|
||||
[CEReactions, Reflect=checked] attribute boolean defaultChecked;
|
||||
[CEReactions, Reflect=formnovalidate] attribute boolean formNoValidate;
|
||||
[ImplementedAs=checked_binding] attribute boolean checked;
|
||||
[CEReactions, Reflect=dirname] attribute DOMString dirName;
|
||||
[CEReactions, Reflect] attribute boolean disabled;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
attribute FileList? files;
|
||||
// FIXME: [CEReactions] attribute USVString formAction;
|
||||
// FIXME: [CEReactions] attribute DOMString formEnctype;
|
||||
// FIXME: [CEReactions] attribute DOMString formMethod;
|
||||
[CEReactions, Reflect=formnovalidate] attribute boolean formNoValidate;
|
||||
[CEReactions, Reflect=formtarget] attribute DOMString formTarget;
|
||||
// FIXME: [CEReactions] attribute unsigned long height;
|
||||
attribute boolean indeterminate;
|
||||
// FIXME: readonly attribute HTMLDataListElement? list;
|
||||
[CEReactions, Reflect] attribute DOMString max;
|
||||
// FIXME: [CEReactions] attribute long maxLength;
|
||||
[CEReactions, Reflect] attribute DOMString min;
|
||||
// FIXME: [CEReactions] attribute long minLength;
|
||||
[CEReactions, Reflect] attribute boolean multiple;
|
||||
[CEReactions, Reflect] attribute DOMString name;
|
||||
// FIXME: [CEReactions] attribute DOMString pattern;
|
||||
[CEReactions, Reflect] attribute DOMString placeholder;
|
||||
[CEReactions, Reflect=readonly] attribute boolean readOnly;
|
||||
[CEReactions, Reflect] attribute boolean required;
|
||||
// FIXME: [CEReactions] attribute unsigned long size;
|
||||
[CEReactions, Reflect] attribute DOMString src;
|
||||
[CEReactions, Reflect] attribute DOMString step;
|
||||
[CEReactions] attribute DOMString type;
|
||||
[CEReactions, Reflect=value] attribute DOMString defaultValue;
|
||||
[CEReactions, LegacyNullToEmptyString] attribute DOMString value;
|
||||
// FIXME: attribute object? valueAsDate;
|
||||
// FIXME: attribute unrestricted double valueAsNumber;
|
||||
// FIXME: [CEReactions] attribute unsigned long width;
|
||||
|
||||
[CEReactions, Reflect] attribute DOMString align;
|
||||
[CEReactions, Reflect=usemap] attribute DOMString useMap;
|
||||
// FIXME: undefined stepUp(optional long n = 1);
|
||||
// FIXME: undefined stepDown(optional long n = 1);
|
||||
|
||||
// FIXME: readonly attribute boolean willValidate;
|
||||
// FIXME: readonly attribute ValidityState validity;
|
||||
// FIXME: readonly attribute DOMString validationMessage;
|
||||
boolean checkValidity();
|
||||
boolean reportValidity();
|
||||
undefined setCustomValidity(DOMString error);
|
||||
|
||||
// FIXME: readonly attribute NodeList? labels;
|
||||
|
||||
undefined select();
|
||||
// FIXME: attribute unsigned long? selectionStart;
|
||||
// FIXME: attribute unsigned long? selectionEnd;
|
||||
// FIXME: attribute DOMString? selectionDirection;
|
||||
// FIXME: undefined setRangeText(DOMString replacement);
|
||||
// FIXME: undefined setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode = "preserve");
|
||||
undefined setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
|
||||
|
||||
undefined showPicker();
|
||||
|
||||
// Obsolete
|
||||
[CEReactions, Reflect] attribute DOMString align;
|
||||
[CEReactions, Reflect=usemap] attribute DOMString useMap;
|
||||
};
|
||||
// FIXME: HTMLInputElement includes PopoverInvokerElement;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue