Implements dirty value/checked flags for input

And modifies test-inputs.html to test.

Fixes wpt breaking mistake
This commit is contained in:
Matthew Rasmus 2014-12-08 10:20:09 -08:00
parent 38e4d86b14
commit 0c8e1aeda3
3 changed files with 76 additions and 15 deletions

View file

@ -109,7 +109,7 @@ impl<'a> HTMLTextAreaElementMethods for JSRef<'a, HTMLTextAreaElement> {
make_bool_getter!(ReadOnly)
// https://html.spec.whatwg.org/multipage/forms.html#attr-textarea-readonly
make_bool_setter!(SetReadOnly, "readOnly")
make_bool_setter!(SetReadOnly, "readonly")
// https://html.spec.whatwg.org/multipage/forms.html#dom-textarea-required
make_bool_getter!(Required)