mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Implement basic framework for static and interactive validation on forms
This commit is contained in:
parent
85b43ea317
commit
3395e54585
7 changed files with 227 additions and 249 deletions
|
@ -115,6 +115,12 @@ impl HTMLButtonElementMethods for HTMLButtonElement {
|
|||
// https://html.spec.whatwg.org/multipage/#dom-fs-formtarget
|
||||
make_setter!(SetFormTarget, "formtarget");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#attr-fs-formnovalidate
|
||||
make_bool_getter!(FormNoValidate, "formnovalidate");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#attr-fs-formnovalidate
|
||||
make_bool_setter!(SetFormNoValidate, "formnovalidate");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-fe-name
|
||||
make_getter!(Name, "name");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue