mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Implements dirty value/checked flags for input
And modifies test-inputs.html to test. Fixes wpt breaking mistake
This commit is contained in:
parent
38e4d86b14
commit
0c8e1aeda3
3 changed files with 76 additions and 15 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue