Get input value IDL attribute matching spec

Refs: https://github.com/servo/servo/issues/9455
This commit is contained in:
Greg Guthe 2016-02-02 21:02:46 -05:00
parent 21f0e63979
commit e6c31e305d
5 changed files with 114 additions and 152 deletions

View file

@ -41,7 +41,8 @@ interface HTMLInputElement : HTMLElement {
// attribute DOMString step;
attribute DOMString type;
attribute DOMString defaultValue;
[TreatNullAs=EmptyString] attribute DOMString value;
[TreatNullAs=EmptyString, SetterThrows]
attribute DOMString value;
// attribute Date? valueAsDate;
// attribute unrestricted double valueAsNumber;
// attribute double valueLow;