delete suffixes

delete suffixes for variants SubmittedFrom, ResetFrom

delete suffixes

for variants SubmittedFrom, ResetFrom
This commit is contained in:
Rafael Quintero 2016-06-04 00:42:16 -04:00
parent 93fc7c9cc3
commit 80aad09ae4
3 changed files with 13 additions and 13 deletions

View file

@ -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()));
}
}