mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
delete suffixes
delete suffixes for variants SubmittedFrom, ResetFrom delete suffixes for variants SubmittedFrom, ResetFrom
This commit is contained in:
parent
93fc7c9cc3
commit
80aad09ae4
3 changed files with 13 additions and 13 deletions
|
@ -1091,7 +1091,7 @@ impl Activatable for HTMLInputElement {
|
|||
// FIXME (Manishearth): support document owners (needs ability to get parent browsing context)
|
||||
// Check if document owner is fully active
|
||||
self.form_owner().map(|o| {
|
||||
o.submit(SubmittedFrom::NotFromFormSubmitMethod,
|
||||
o.submit(SubmittedFrom::NotFromForm,
|
||||
FormSubmitter::InputElement(self.clone()))
|
||||
});
|
||||
},
|
||||
|
@ -1100,7 +1100,7 @@ impl Activatable for HTMLInputElement {
|
|||
// FIXME (Manishearth): support document owners (needs ability to get parent browsing context)
|
||||
// Check if document owner is fully active
|
||||
self.form_owner().map(|o| {
|
||||
o.reset(ResetFrom::NotFromFormResetMethod)
|
||||
o.reset(ResetFrom::NotFromForm)
|
||||
});
|
||||
},
|
||||
InputType::InputCheckbox | InputType::InputRadio => {
|
||||
|
@ -1204,7 +1204,7 @@ impl Activatable for HTMLInputElement {
|
|||
// lazily test for > 1 submission-blocking inputs
|
||||
return;
|
||||
}
|
||||
form.submit(SubmittedFrom::NotFromFormSubmitMethod,
|
||||
form.submit(SubmittedFrom::NotFromForm,
|
||||
FormSubmitter::FormElement(form.r()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue