1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 14:05:08 +00:00

LibWeb: Add input element valueAsNumber

This commit is contained in:
Bastiaan van der Plaat 2023-10-04 22:40:31 +02:00 committed by Andreas Kling
parent d290569535
commit d5ca8209bf
3 changed files with 38 additions and 2 deletions

View file

@ -19,7 +19,7 @@ interface HTMLInputElement : HTMLElement {
// FIXME: [CEReactions] attribute USVString formAction;
// FIXME: [CEReactions] attribute DOMString formEnctype;
// FIXME: [CEReactions] attribute DOMString formMethod;
[CEReactions, Reflect=formnovalidate] attribute boolean formNoValidate;
[CEReactions, Reflect=formnovalidate] attribute boolean formNoValidate;
[CEReactions, Reflect=formtarget] attribute DOMString formTarget;
// FIXME: [CEReactions] attribute unsigned long height;
attribute boolean indeterminate;
@ -41,7 +41,7 @@ interface HTMLInputElement : HTMLElement {
[CEReactions, Reflect=value] attribute DOMString defaultValue;
[CEReactions, LegacyNullToEmptyString] attribute DOMString value;
// FIXME: attribute object? valueAsDate;
// FIXME: attribute unrestricted double valueAsNumber;
attribute unrestricted double valueAsNumber;
// FIXME: [CEReactions] attribute unsigned long width;
// FIXME: undefined stepUp(optional long n = 1);