LibWeb: Fixed IDL for HTMLInputElement

Use Enumerated for the form{Enctype, Method} attributes
This commit is contained in:
samu698 2024-10-20 18:39:50 +02:00 committed by Andrew Kaster
commit d08d305399
Notes: github-actions[bot] 2024-10-21 21:41:59 +00:00
5 changed files with 132 additions and 2 deletions

View file

@ -18,8 +18,8 @@ interface HTMLInputElement : HTMLElement {
readonly attribute HTMLFormElement? form;
attribute FileList? files;
[CEReactions] attribute USVString formAction;
[FIXME, CEReactions] attribute DOMString formEnctype;
[FIXME, CEReactions] attribute DOMString formMethod;
[CEReactions, Reflect=formenctype, Enumerated=FormEnctypeAttribute] attribute DOMString formEnctype;
[CEReactions, Reflect=formmethod, Enumerated=FormMethodAttribute] attribute DOMString formMethod;
[CEReactions, Reflect=formnovalidate] attribute boolean formNoValidate;
[CEReactions, Reflect=formtarget] attribute DOMString formTarget;
[FIXME, CEReactions] attribute unsigned long height;