mirror of
https://github.com/servo/servo
synced 2026-04-27 18:07:52 +02:00
stepUp, stepDown, valueAsNumber, valueAsDate, and list work and have tests
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user