mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Create an almost-correct form_owner() for convenience
This commit is contained in:
parent
834df4e211
commit
c92d58980c
2 changed files with 32 additions and 2 deletions
|
@ -410,3 +410,7 @@ impl<'a> FormSubmitter<'a> {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub trait FormOwner<'a> {
|
||||
fn form_owner(self) -> Option<JSRef<'a, HTMLFormElement>>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue