stepUp, stepDown, valueAsNumber, valueAsDate, and list work and have tests

This commit is contained in:
Patrick Shaughnessy 2019-12-27 18:05:48 -05:00
parent 6b79a8f042
commit 87e86c81b9
27 changed files with 1119 additions and 1244 deletions

View file

@ -39,7 +39,7 @@ interface HTMLInputElement : HTMLElement {
attribute boolean indeterminate;
// [CEReactions]
// attribute DOMString inputMode;
// readonly attribute HTMLElement? list;
readonly attribute HTMLElement? list;
[CEReactions]
attribute DOMString max;
[CEReactions, SetterThrows]
@ -72,15 +72,15 @@ interface HTMLInputElement : HTMLElement {
attribute DOMString defaultValue;
[CEReactions, SetterThrows]
attribute [TreatNullAs=EmptyString] DOMString value;
// attribute Date? valueAsDate;
// attribute unrestricted double valueAsNumber;
// attribute double valueLow;
// attribute double valueHigh;
[SetterThrows]
attribute object? valueAsDate;
[SetterThrows]
attribute unrestricted double valueAsNumber;
// [CEReactions]
// attribute unsigned long width;
//void stepUp(optional long n = 1);
//void stepDown(optional long n = 1);
[Throws] void stepUp(optional long n = 1);
[Throws] void stepDown(optional long n = 1);
//readonly attribute boolean willValidate;
//readonly attribute ValidityState validity;