mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Implement initial pieces of form validation.
This commit is contained in:
parent
7a9dc57761
commit
051ffba0e5
14 changed files with 185 additions and 55 deletions
|
@ -64,7 +64,7 @@ impl HTMLFieldSetElementMethods for HTMLFieldSetElement {
|
|||
// https://html.spec.whatwg.org/multipage/#dom-cva-validity
|
||||
fn Validity(&self) -> Root<ValidityState> {
|
||||
let window = window_from_node(self);
|
||||
ValidityState::new(window.r())
|
||||
ValidityState::new(window.r(), self.upcast())
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-fieldset-disabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue