mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
stepUp, stepDown, valueAsNumber, valueAsDate, and list work and have tests
This commit is contained in:
parent
6b79a8f042
commit
87e86c81b9
27 changed files with 1119 additions and 1244 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue