SubmitEvent and test changes

This commit is contained in:
Patrick Shaughnessy 2020-01-30 09:52:54 -05:00
parent 1352e7188a
commit 9cc218d0b0
18 changed files with 131 additions and 58 deletions

View file

@ -307,7 +307,7 @@ impl Activatable for HTMLButtonElement {
if let Some(owner) = self.form_owner() {
owner.submit(
SubmittedFrom::NotFromForm,
FormSubmitter::ButtonElement(self.clone()),
FormSubmitter::ButtonElement(self),
);
}
},