mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 09:04:30 +00:00
LibWeb/HTML: Update HTMLButtonElement.type to match spec changes
Corresponds to part of https://github.com/whatwg/html/pull/9841 and then https://github.com/whatwg/html/pull/11047 Adding `Auto` as a type state feels a little odd, as it's not an actual type allowed in HTML. However, it's the default state when the value is missing or invalid, which works out the same, as long as we never serialize "auto", which we don't.
This commit is contained in:
committed by
Tim Ledbetter
parent
03bccb5ff1
commit
ff1ef07160
@@ -23,7 +23,7 @@ interface HTMLButtonElement : HTMLElement {
|
||||
[CEReactions, Reflect=formnovalidate] attribute boolean formNoValidate;
|
||||
[CEReactions, Reflect=formtarget] attribute DOMString formTarget;
|
||||
[CEReactions, Reflect] attribute DOMString name;
|
||||
[CEReactions, Reflect, Enumerated=ButtonTypeState] attribute DOMString type;
|
||||
[CEReactions, ImplementedAs=type_for_bindings, Enumerated=ButtonTypeState] attribute DOMString type;
|
||||
[CEReactions, Reflect] attribute DOMString value;
|
||||
|
||||
[FIXME] readonly attribute boolean willValidate;
|
||||
|
||||
Reference in New Issue
Block a user