mirror of
https://github.com/RGBCube/serenity
synced 2025-06-28 21:22:08 +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
|
@ -1,16 +1,29 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
#import <HTML/HTMLFormElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlbuttonelement
|
||||
[Exposed=Window]
|
||||
interface HTMLButtonElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
||||
[CEReactions, Reflect] attribute boolean disabled;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
[CEReactions, Reflect=formaction] attribute USVString formAction;
|
||||
[CEReactions, Reflect=formenctype] attribute DOMString formEnctype;
|
||||
[CEReactions, Reflect=formmethod] attribute DOMString formMethod;
|
||||
[CEReactions, Reflect=formnovalidate] attribute boolean formNoValidate;
|
||||
[CEReactions, Reflect=formtarget] attribute DOMString formTarget;
|
||||
[CEReactions, Reflect] attribute DOMString name;
|
||||
[CEReactions, Reflect] attribute DOMString type;
|
||||
[CEReactions, Reflect] attribute DOMString value;
|
||||
[CEReactions] attribute DOMString type;
|
||||
|
||||
// FIXME: readonly attribute boolean willValidate;
|
||||
// FIXME: readonly attribute ValidityState validity;
|
||||
// FIXME: readonly attribute DOMString validationMessage;
|
||||
// FIXME: boolean checkValidity();
|
||||
// FIXME: boolean reportValidity();
|
||||
// FIXME: undefined setCustomValidity(DOMString error);
|
||||
|
||||
// FIXME: readonly attribute NodeList labels;
|
||||
};
|
||||
// FIXME: HTMLButtonElement includes PopoverInvokerElement;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue