Implements some HTMLTextAreaElement attributes

These attributes all reflect their own related content values, with the
exception of defaultValue, which acts as an alias for its IDL
textContent attribute.

Many of these do have default values and constraints which are currently unimplemented.
This commit is contained in:
Matthew Rasmus 2014-11-29 13:24:29 -08:00
parent c6aadc5bcc
commit fd65b5f438
2 changed files with 59 additions and 7 deletions

View file

@ -7,22 +7,22 @@
interface HTMLTextAreaElement : HTMLElement {
// attribute DOMString autocomplete;
// attribute boolean autofocus;
// attribute unsigned long cols;
attribute unsigned long cols;
// attribute DOMString dirName;
attribute boolean disabled;
//readonly attribute HTMLFormElement? form;
// attribute DOMString inputMode;
// attribute long maxLength;
// attribute long minLength;
// attribute DOMString name;
// attribute DOMString placeholder;
attribute DOMString name;
attribute DOMString placeholder;
// attribute boolean readOnly;
// attribute boolean required;
// attribute unsigned long rows;
// attribute DOMString wrap;
attribute boolean required;
attribute unsigned long rows;
attribute DOMString wrap;
readonly attribute DOMString type;
// attribute DOMString defaultValue;
attribute DOMString defaultValue;
//[TreatNullAs=EmptyString] attribute DOMString value;
//readonly attribute unsigned long textLength;